Project.CreateProject Method

Create a top level project
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
ServerID

the id of the server

project_name
string

the Job name

proj_desc
string

the Job description

parent_project_id
EntityID

an optional parent Job id - may be null

cover_image
byte[]

user_id
EntityID

the user id

db
IDatabase

the database connection

Return Value

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

In this article

Definition