Occurs when new resources are inserted into the scheduler storage.
public event PersistentObjectsEventHandler ResourcesInserted
Public Event ResourcesInserted As PersistentObjectsEventHandler
The ResourcesInserted event's data class is PersistentObjectsEventArgs. The following properties provide information specific to this event:
|Objects||Gets the persistent objects for which the event occurs.|
The ResourcesInserted event serves as a notification that a resource appointment has been added to the resources collection. The event parameter's PersistentObjectEventArgs.Object property allows you to get the resource which has been added.
To specify whether a resource can be added, handle the SchedulerStorageBase.ResourceInserting event.