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)

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

C#
public MessageBoardData ApproveMessage(Long messageId, Long objectId, EkEnumeration.MessageBoardObjectType objectType);
Visual Basic
Public Function ApproveMessage(ByVal messageId As Long, ByVal objectId As Long, ByVal 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!