Create a topic in a category

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function CreateTopic( _ 
ByVal server_id As ServerID, _ 
ByVal category_id As EntityID, _ 
ByVal topic_name As String, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateTopic( 
ServerID server_id
EntityID category_id
string topic_name
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateTopic( 
ServerID^ server_id
EntityID^ category_id
String^ topic_name
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateTopic( 
server_id : ServerID
category_id : EntityID
topic_name : String
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
Type: ServerID

the id of the server

category_id
Type: EntityID

the id of the category

topic_name
Type: string

the topic name

user_id
Type: EntityID

the id of the user creating the topic

db
Type: IDatabase

the database

Return Value

Type: EntityID

the id of the topic

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1