Replicate a folder and all its contents

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

Public Shared Function ReplicateFolder( _ 
ByVal info As ProjectFolder, _ 
ByVal parent_folder_id As EntityID, _ 
ByVal new_project As EntityID, _ 
ByVal is_root_folder As Boolean, _ 
ByVal user_id As EntityID, _ 
ByVal src_db As IDatabase, _ 
ByVal client As IClient
) As EntityID
This language is not supported or no code example is available.
public static EntityID ReplicateFolder( 
ProjectFolder info
EntityID parent_folder_id
EntityID new_project
bool is_root_folder
EntityID user_id
IDatabase src_db
IClient client 
)
This language is not supported or no code example is available.
public:  
static EntityID^ ReplicateFolder( 
ProjectFolder^ info
EntityID^ parent_folder_id
EntityID^ new_project
bool is_root_folder
EntityID^ user_id
IDatabase^ src_db
IClient^ client 
)
This language is not supported or no code example is available.
public static function ReplicateFolder( 
info : ProjectFolder
parent_folder_id : EntityID
new_project : EntityID
is_root_folder : boolean
user_id : EntityID
src_db : IDatabase
client : IClient 
) : EntityID;
This language is not supported or no code example is available.

Parameters

info
Type: ProjectFolder

the folder info to replicate

parent_folder_id
Type: EntityID

the parent folder id for the replicated project

new_project
Type: EntityID

the project this should be replicated into

is_root_folder
Type: bool

whether or not this is a root folder

user_id
Type: EntityID

the id of the usre doing the replication

src_db
Type: IDatabase

client
Type: IClient

an optional client for logging

Return Value

Type: EntityID

the created 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