Replicate an existing file into a new project

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

Public Shared Function ReplicateFile( _ 
ByVal info As FileInfo, _ 
ByVal folder_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 ReplicateFile( 
FileInfo info
EntityID folder_id
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ ReplicateFile( 
FileInfo^ info
EntityID^ folder_id
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function ReplicateFile( 
info : FileInfo
folder_id : EntityID
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

info
Type: FileInfo

the file info of the file we want to replicate

folder_id
Type: EntityID

the new destination folder

user_id
Type: EntityID

the id of the user

db
Type: IDatabase

the db connection

Return Value

Type: EntityID

.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