Create a forum category
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function CreateCategory( _
ByVal server_id As ServerID, _
ByVal name As String, _
ByVal description As String, _
ByVal forum_id As EntityID, _
ByVal user_id As EntityID, _
ByVal order As Integer, _
ByVal db As IDatabase _
) As EntityID
This language is not supported or no code example is available.
Parameters
- server_id
-
Type: ServerID
the id of the server
- name
-
Type: string
the name of the category to create
- description
-
Type: string
a description
- forum_id
-
Type: EntityID
the id of the forum
- user_id
-
Type: EntityID
the id of the user
- order
-
Type: int
the order of the category within the forum -1 will put it at the end
- db
-
Type: IDatabase
the database to use
Return Value
Type: EntityIDthe id of the category