Ektron CMS400.NET API Documentation
|
Adds a discussion forum to a given board. Accepts name, description, and other parameters. Category ID must be valid for the board ID. Returns the numeric ID of new discussion forum.
This method can be accessed through the ThreadedDiscussion.asmx file located in:
~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
[SoapHeader("AuthHeader")] [SoapHeader("RequestInfoHeader")] [WebMethod(MessageName = "AddForum", Description = "")] public long AddForum(long BoardID, string Name, string Description, bool ModeratePosts, bool LockForum, int SortOrder, long CategoryID);
<SoapHeader("AuthHeader")> <SoapHeader("RequestInfoHeader")> <WebMethod(MessageName = "AddForum", Description = "")> Public Function AddForum(BoardID As long, Name As string, Description As string, ModeratePosts As bool, LockForum As bool, SortOrder As Integer, CategoryID As long) As long
Parameters |
Description |
BoardID |
The numeric ID of the discussion board to which you want to add a forum. |
Name |
The name of forum. |
Description |
String value for the forum summary. |
ModeratePosts |
Are posts moderated? |
LockForum |
Is the forum locked? |
SortOrder |
Sort order for the new forum. |
CategoryID |
The numeric value of the Category ID the new forum belongs to. |
Returns the numeric ID of the new forum (Long).
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|