You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > MessageBoard Class > MessageBoard Methods > ApproveMessage Method > ApproveMessage
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MessageBoard.ApproveMessage Method (Long, Long, EkEnumeration.MessageBoardObjectType, Long, Boolean)

This function changes the flag of the message from pending to approve.

C#
public MessageBoardData ApproveMessage(Long messageId, Long objectId, EkEnumeration.MessageBoardObjectType objectType, Long callerUserId, Boolean isModerated);
Visual Basic
Public Function ApproveMessage(ByVal messageId As Long, ByVal objectId As Long, ByVal objectType As EkEnumeration.MessageBoardObjectType, ByVal callerUserId As Long, ByVal isModerated As Boolean) As MessageBoardData
Parameters 
Description 
messageId 
The unique ID of the message. 
objectId 
The ID of the object associated with the message board. 
objectType 
The type of the object associated with the message board. 
callerUserId 
The user ID of the member doing the update. 
isModerated 
The moderation switch. 

Returns the updated row.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!