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

Updates the Text of a message. 

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 = "UpdateMessageText with caller user id and moderated flag", Description = "Updates the Text of a message.")]
public MessageBoardData UpdateMessageText(long messageId, long objectId, EkEnumeration.MessageBoardObjectType objectType, string messageText, long callerUserId, bool isModerated);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "UpdateMessageText with caller user id and moderated flag", Description = "Updates the Text of a message.")>
Public Function UpdateMessageText(messageId As long, objectId As long, objectType As EkEnumeration.MessageBoardObjectType, messageText As string, callerUserId As long, isModerated As bool) As MessageBoardData
Parameters 
Description 
messageId 
The unique ID of the message. 
objectId 
The ID of the object. 
objectType 
The type of the object. 
messageText 
The new message text. 
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!