Run before a project is created

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

Public Overridable Function OnBeforeProjectCreated( _ 
ByVal event_data As CreateProjectEventData, _ 
ByVal database As IDatabase, _ 
ByVal user_id As EntityID, _ 
ByVal client As IClient, _ 
ByVal client_event_id As Long _ 
) As OperationResponse
This language is not supported or no code example is available.
public virtual OperationResponse OnBeforeProjectCreated( 
CreateProjectEventData event_data, 
IDatabase database, 
EntityID user_id, 
IClient client, 
long client_event_id 
)
This language is not supported or no code example is available.
public:  
virtual OperationResponse^ OnBeforeProjectCreated( 
CreateProjectEventData^ event_data, 
IDatabase^ database, 
EntityID^ user_id, 
IClient^ client, 
long client_event_id 
)
This language is not supported or no code example is available.
public function OnBeforeProjectCreated( 
event_data : CreateProjectEventData, 
database : IDatabase, 
user_id : EntityID, 
client : IClient, 
client_event_id : long 
) : OperationResponse;
This language is not supported or no code example is available.

Parameters

event_data
Type: CreateProjectEventData

the event data used to create the project

database
Type: IDatabase

the database id

user_id
Type: EntityID

the id of the user performing the event

client
Type: IClient

the client connection

client_event_id
Type: long

the client event id

Return Value

Type: OperationResponse

the operation response - error level if it should fail

.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