You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > DeleteTopic
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.DeleteTopic Method

Deletes a topic by topicID. This method deletes all posts associated with the topic as well. Returns boolean value. 

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

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "DeleteTopic", Description = "")]
public bool DeleteTopic(long topicid);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteTopic", Description = "")>
Public Function DeleteTopic(topicid As long) As bool
Parameters 
Description 
post_id 
Numeric value of the topic you wish to delete. 

Boolean

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!