TaskList.ReplicateTask (EntityID, EntityID, String, EntityID, EntityID, IDatabase) Method

Replicate a task
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
EntityID

the new project id

task_id
EntityID

the id of the item being replicated

new_name
string

new_parent_id
EntityID

the new parent task id

user_id
EntityID

the id of the user doing the replicate

db
IDatabase

the database being used

Return Value

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

In this article

Definition