ServerEventScript.OnAfterFolderAdded Method

Run just after a folder is added - a non ok response should be returned if the event is to fail
Public Overridable Function OnAfterFolderAdded( _ 
ByVal folder_id As EntityID, _ 
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.
public virtual OperationResponse OnAfterFolderAdded( 
EntityID folder_id
List<string> extensions
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^ OnAfterFolderAdded( 
EntityID^ folder_id
List<String^>^ extensions
IDatabase^ database
EntityID^ user_id
IClient^ client
long client_event_id 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
EntityID

the id of the created folder

extensions
List<string>

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

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

In this article

Definition