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

Deletes a forum with a given ID. This will delete the forum as well as all topics and posts under it. forumID must be greater than 0. 

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 = "DeleteForum", Description = "")]
public void DeleteForum(long forumID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "DeleteForum", Description = "")>
Public Function DeleteForum(forumID As long) As void
Parameters 
Description 
forumID 
The numeric ID of the forum. This corresponds to the folder ID. 
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!