Get the id of a task type by its name

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

Public Shared Function GetTaskTypeID( _ 
ByVal name As String, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetTaskTypeID( 
string name
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetTaskTypeID( 
String^ name
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetTaskTypeID( 
name : String
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

name
Type: string

whether or not to get attributes

db
Type: IDatabase

the database ot use

Return Value

Type: EntityID

the task type id, may be null

.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