Get a task id by its name

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

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

Parameters

name
Type: string

the name

project_id
Type: EntityID

the project it belongs to

parent_id
Type: EntityID

the id of the parent task, which may or may not exist

db
Type: IDatabase

the db connection

Return Value

Type: EntityID

the id of the 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