Create a web file drop

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

Public Shared Function CreateWebFileDrop( _ 
ByVal folder_id As EntityID, _ 
ByVal display_name As String, _ 
ByVal mode As WebFileDropCreateMode, _ 
ByVal desc As String, _ 
ByVal max_size As Integer, _ 
ByVal extensions As List(Of String), _ 
ByVal password As String, _ 
ByVal close_after_drop As Boolean, _ 
ByVal utc_expiry As Nullable(Of Date), _ 
ByVal created_by_id As EntityID, _ 
ByVal main_page_id As Nullable(Of Long), _ 
ByVal describe_page_id As Nullable(Of Long), _ 
ByVal db As IDatabase _ 
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateWebFileDrop( 
EntityID folder_id, 
string display_name, 
WebFileDropCreateMode mode, 
string desc, 
int max_size, 
List<string> extensions, 
string password, 
bool close_after_drop, 
Nullable<DateTime> utc_expiry, 
EntityID created_by_id, 
Nullable<long> main_page_id, 
Nullable<long> describe_page_id, 
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateWebFileDrop( 
EntityID^ folder_id, 
String^ display_name, 
WebFileDropCreateMode mode, 
String^ desc, 
int max_size, 
List<String^>^ extensions, 
String^ password, 
bool close_after_drop, 
Nullable<DateTime> utc_expiry, 
EntityID^ created_by_id, 
Nullable<long> main_page_id, 
Nullable<long> describe_page_id, 
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
Type: EntityID

the folder where this should be created

display_name
Type: string

the display name

mode
Type: WebFileDropCreateMode

desc
Type: string

a description

max_size
Type: int

optional max size, -1 if not used

extensions
Type: List<string>

optonal list of extensions

password
Type: string

an optional password - null if not needed

close_after_drop
Type: bool

whether or not to close after a drop occurrs

utc_expiry
Type: Nullable<DateTime>

an optional expiry date

created_by_id
Type: EntityID

the contact that created id

main_page_id
Type: Nullable<long>

describe_page_id
Type: Nullable<long>

db
Type: IDatabase

<default>

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