Get the id of a project based on its name

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

Public Shared Function GetProjectID( _ 
ByVal name As String, _ 
ByVal parent_id As EntityID, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetProjectID( 
string name
EntityID parent_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetProjectID( 
String^ name
EntityID^ parent_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetProjectID( 
name : String
parent_id : EntityID
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

name
Type: string

the name of the project

parent_id
Type: EntityID

the id of a parent project - may be null

db
Type: IDatabase

the db connection

Return Value

Type: EntityID

the entity id, if there is one - otherwise null

.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