TaskList.GetTemplateTaskByName Method

Get a template task id by its name
Public Shared Function GetTemplateTaskByName( _ 
ByVal name As String, _ 
ByVal type_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 GetTemplateTaskByName( 
string name, 
EntityID type_id, 
EntityID parent_id, 
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetTemplateTaskByName( 
String^ name, 
EntityID^ type_id, 
EntityID^ parent_id, 
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetTemplateTaskByName( 
name : String, 
type_id : EntityID, 
parent_id : EntityID, 
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

name
string

the name

type_id
EntityID

parent_id
EntityID

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

db
IDatabase

the db connection

Return Value

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

In this article

Definition