Get info about a particular task item from the database

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

Public Shared Function GetTask( _ 
ByVal id As EntityID, _ 
ByVal get_children As Boolean, _ 
ByVal get_history As Boolean, _ 
ByVal db As IDatabase
) As TaskItem
This language is not supported or no code example is available.
public static TaskItem GetTask( 
EntityID id
bool get_children
bool get_history
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static TaskItem^ GetTask( 
EntityID^ id
bool get_children
bool get_history
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetTask( 
id : EntityID
get_children : boolean
get_history : boolean
db : IDatabase 
) : TaskItem;
This language is not supported or no code example is available.

Parameters

id
Type: EntityID

the id of the item

get_children
Type: bool

whether or not we want the children items as well

get_history
Type: bool

whether or not to get the full history of the item

db
Type: IDatabase

the db db

Return Value

Type: TaskItem

the created task item

.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