Create a publishable package

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

Public Shared Function PublishPackage( _ 
ByVal display_name As String, _ 
ByVal file_ids As Dictionary(Of EntityID, 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 namer As IPublishingNamer, _ 
ByVal db As IDatabase, _ 
ByVal client As IClient, _ 
ByVal additional_files_to_include As List(Of String) _ 
) As Long
This language is not supported or no code example is available.
public static long PublishPackage( 
string display_name
Dictionary<EntityID, int> file_ids
string password
DateTime available
bool always_show_landing_page
EntityID created_by_id
string description
bool track_file
Nullable<long> page_id
IPublishingNamer namer
IDatabase db
IClient client
List<string> additional_files_to_include 
)
This language is not supported or no code example is available.
public:  
static long PublishPackage( 
String^ display_name
Dictionary<EntityID^, int>^ file_ids
String^ password
DateTime available
bool always_show_landing_page
EntityID^ created_by_id
String^ description
bool track_file
Nullable<long> page_id
IPublishingNamer^ namer
IDatabase^ db
IClient^ client
List<String^>^ additional_files_to_include 
)
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

display_name
Type: string

the display name

file_ids
Type: Dictionary<EntityID, int>

map of files to versions to publish - the version may be -1

password
Type: string

an optional password - null if no password. if it is provided, it will be hashed automatically

available
Type: DateTime

date this file is available till - can be mindate if not required

always_show_landing_page
Type: bool

whether or not we should landing page

created_by_id
Type: EntityID

id of the user who created this

description
Type: string

a description

track_file
Type: bool

whether or not we should track the file

page_id
Type: Nullable<long>

namer
Type: IPublishingNamer

a method to name files

db
Type: IDatabase

database to use

client
Type: IClient

<default>

additional_files_to_include
Type: List<string>

<default>

Return Value

Type: long

.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