ServerEventScript.OnBeforeFolderAdded Method
Public Overridable Function OnBeforeFolderAdded( _
ByVal folder_name As String, _
ByVal parent_id As EntityID, _
ByVal parent_is_folder As Boolean, _
ByVal extensions As List(Of String), _
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.
Parameters
- folder_name
- string
the name of the folder
- parent_id
- EntityID
the parent entity
- parent_is_folder
- bool
whether or not the parent is a folder - it can be either a folder or a project (for a root folder)
the list of extensions
- database
- IDatabase
the database id
- user_id
- EntityID
the id of the user performing the event
- client
- IClient
- client_event_id
- long
the client event id
Return Value
OperationResponsethe operation response - error level if it should fail