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

Deletes all the message board records for a particular object. 

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 = "DeleteMessageBoardEntries with caller user id and moderated flag", Description = "Deletes all the message board records for a particular object.")]
public bool DeleteMessageBoardEntries(long objectId, EkEnumeration.MessageBoardObjectType objectType, long callerUserId, bool isModerated);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteMessageBoardEntries with caller user id and moderated flag", Description = "Deletes all the message board records for a particular object.")>
Public Function DeleteMessageBoardEntries(objectId As long, objectType As EkEnumeration.MessageBoardObjectType, callerUserId As long, isModerated As bool) As bool
Parameters 
Description 
objectId 
The ID of the object that has the message board. 
objectType 
The type of object. 
callerUserId 
The user ID of the member deleting the messages. 
isModerated 
The moderation switch. 

Returns true when all the messages are deleted successfully.

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!