Replicate a task

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

Public Shared Function ReplicateTask( _ 
ByVal new_project_id As EntityID, _ 
ByVal task_id As EntityID, _ 
ByVal new_name As String, _ 
ByVal new_parent_id As EntityID, _ 
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 ReplicateTask( 
EntityID new_project_id
EntityID task_id
string new_name
EntityID new_parent_id
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ ReplicateTask( 
EntityID^ new_project_id
EntityID^ task_id
String^ new_name
EntityID^ new_parent_id
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function ReplicateTask( 
new_project_id : EntityID
task_id : EntityID
new_name : String
new_parent_id : EntityID
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

new_project_id
Type: EntityID

the new project id

task_id
Type: EntityID

the id of the item being replicated

new_name
Type: string

new_parent_id
Type: EntityID

the new parent task id

user_id
Type: EntityID

the id of the user doing the replicate

db
Type: IDatabase

the database being used

Return Value

Type: EntityID

the id of the created, top level, id

.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