You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > MessageBoard Class > MessageBoard Methods > ApproveMessage Method > ApproveMessage
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
MessageBoard.ApproveMessage Method (long, long, EkEnumeration.MessageBoardObjectType)

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

This method can be accessed through the MessageBoard.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/MessageBoard.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "ApproveMessage", Description = "Updates the Text of a message.")]
public MessageBoardData ApproveMessage(long messageId, long objectId, EkEnumeration.MessageBoardObjectType objectType);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "ApproveMessage", Description = "Updates the Text of a message.")>
Public Function ApproveMessage(messageId As long, objectId As long, objectType As EkEnumeration.MessageBoardObjectType) As MessageBoardData
Parameters 
Description 
messageId 
The unique ID of the message. 
objectId 
The ID of the object. 
objectType 
The type of the object. 

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!