Replicate a folder and all its contents
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
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.
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: EntityIDthe created id