Replicate a project

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

Public Shared Function ReplicateProject( _ 
ByVal new_name As String, _ 
ByVal new_description As String, _ 
ByVal rule_set_id As Long, _ 
ByVal proj_id As EntityID, _ 
ByVal new_project_parent_id As EntityID, _ 
ByVal user_id As EntityID, _ 
ByVal db As IDatabase, _ 
ByVal client As IClient
) As EntityID
This language is not supported or no code example is available.
public static EntityID ReplicateProject( 
string new_name
string new_description
long rule_set_id
EntityID proj_id
EntityID new_project_parent_id
EntityID user_id
IDatabase db
IClient client 
)
This language is not supported or no code example is available.
public:  
static EntityID^ ReplicateProject( 
String^ new_name
String^ new_description
long rule_set_id
EntityID^ proj_id
EntityID^ new_project_parent_id
EntityID^ user_id
IDatabase^ db
IClient^ client 
)
This language is not supported or no code example is available.
public static function ReplicateProject( 
new_name : String
new_description : String
rule_set_id : long
proj_id : EntityID
new_project_parent_id : EntityID
user_id : EntityID
db : IDatabase
client : IClient 
) : EntityID;
This language is not supported or no code example is available.

Parameters

new_name
Type: string

the new Job name

new_description
Type: string

the new Job description

rule_set_id
Type: long

the store id

proj_id
Type: EntityID

the id of the Job we want to replicate

new_project_parent_id
Type: EntityID

the id of the Job we want the new Job to be created in

user_id
Type: EntityID

the id of the user creating the project

db
Type: IDatabase

the db connection

client
Type: IClient

an optional client connection

Return Value

Type: EntityID

the response of replicating the project

.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