Set an element as shared

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

Public Shared Function ShareElement( _ 
ByVal file_id As EntityID, _ 
ByVal share_name As String, _ 
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 ShareElement( 
EntityID file_id
string share_name
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ ShareElement( 
EntityID^ file_id
String^ share_name
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function ShareElement( 
file_id : EntityID
share_name : String
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

file_id
Type: EntityID

the file we're sharing

share_name
Type: string

the optional share name - can be empty or null

user_id
Type: EntityID

db
Type: IDatabase

the db db to use

Return Value

Type: EntityID

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