[This is preliminary documentation and is subject to change.]

Inserts a New Forum into the Database

Namespace:  OfficeClip.DBLayer.OfficePortal
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int Insert(
	string forumName,
	string forumDesc,
	int userId,
	int groupId
)
Visual Basic (Declaration)
Public Function Insert ( _
	forumName As String, _
	forumDesc As String, _
	userId As Integer, _
	groupId As Integer _
) As Integer
Visual C++
public:
int Insert(
	String^ forumName, 
	String^ forumDesc, 
	int userId, 
	int groupId
)

Parameters

forumName
Type: System..::.String
The Name of the Forum
forumDesc
Type: System..::.String
Forum Description
userId
Type: System..::.Int32
The unique user id.
groupId
Type: System..::.Int32
The unique group id.

Return Value

Forum Id

See Also