You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > AddBoard
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.AddBoard Method

Adds a discussion board to a given folder. Accepts name, title, and other parameters. Returns numeric ID of new discussion board.

C#
public Long AddBoard(Long ParentID, String Name, String Title, Boolean RequiresAuthentication, String StyleSheet, String Categories);
Visual Basic
Public Function AddBoard(ByVal ParentID As Long, ByVal Name As String, ByVal Title As String, ByVal RequiresAuthentication As Boolean, ByVal StyleSheet As String, ByVal Categories() As String) As Long
Parameters 
Description 
ParentID 
Numeric ID of folder to which you are adding the discussion board. 
Name 
Name of discussion board. 
Title 
Title of the discussion board. 
RequiresAuthentication 
Set to True to require authentication. 
StyleSheet 
The stylesheet to apply to the discussion board. 
Categories 
String array of categories for the discussion board. 

Numeric ID of new discussion board. (Long)

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!