Create a top level project

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

Public Shared Function CreateProject( _ 
ByVal server_id As ServerID, _ 
ByVal project_name As String, _ 
ByVal proj_desc As String, _ 
ByVal parent_project_id As EntityID, _ 
ByVal cover_image As Byte(), _ 
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 CreateProject( 
ServerID server_id
string project_name
string proj_desc
EntityID parent_project_id
byte[] cover_image
EntityID user_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateProject( 
ServerID^ server_id
String^ project_name
String^ proj_desc
EntityID^ parent_project_id
array< Byte >^ cover_image
EntityID^ user_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function CreateProject( 
server_id : ServerID
project_name : String
proj_desc : String
parent_project_id : EntityID
cover_image : byte[], 
user_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
Type: ServerID

the id of the server

project_name
Type: string

the Job name

proj_desc
Type: string

the Job description

parent_project_id
Type: EntityID

an optional parent Job id - may be null

cover_image
Type: byte[]

user_id
Type: EntityID

the user id

db
Type: IDatabase

the database connection

Return Value

Type: EntityID

the id of the created project

.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