WebFileServer.PublishFile Method
Public Shared Function PublishFile( _
ByVal display_name As String, _
ByVal file_id As EntityID, _
ByVal version As Integer, _
ByVal password As String, _
ByVal available As Date, _
ByVal always_show_landing_page As Boolean, _
ByVal created_by_id As EntityID, _
ByVal description As String, _
ByVal track_file As Boolean, _
ByVal page_id As Nullable(Of Long), _
ByVal db As IDatabase _
) As Long
This language is not supported or no code example is available.
public static long PublishFile(
string display_name,
EntityID file_id,
int version,
string password,
DateTime available,
bool always_show_landing_page,
EntityID created_by_id,
string description,
bool track_file,
Nullable<long> page_id,
IDatabase db
)
This language is not supported or no code example is available.
public:
static long PublishFile(
String^ display_name,
EntityID^ file_id,
int version,
String^ password,
DateTime available,
bool always_show_landing_page,
EntityID^ created_by_id,
String^ description,
bool track_file,
Nullable<long> page_id,
IDatabase^ db
)
This language is not supported or no code example is available.
Parameters
- display_name
- string
the display name
- file_id
- EntityID
the file id
- version
- int
the version - null if always latest version
- password
- string
an optional password - null if no password. if it is provided, it will be hashed automatically
- available
- DateTime
date this file is available till - can be mindate if not required
- always_show_landing_page
- bool
whether or not we should landing page
- created_by_id
- EntityID
id of the user who created this
- description
- string
a description
- track_file
- bool
whether or not we should track the file
- db
- IDatabase
database to use