Fires when a resource’s property is about to be changed.
event PersistentObjectCancelEventHandler ResourceChanging
Event ResourceChanging As PersistentObjectCancelEventHandler
The ResourceChanging event's data class is PersistentObjectCancelEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets whether to cancel the operation.|
|Object||Gets the persistent object (appointment, resource or appointment dependency) for which the event occurs. Inherited from PersistentObjectEventArgs.|
The ResourceChanging event is raised when changing a resource’s property. The resource whose property is about to be changed is identified by the event parameter’s PersistentObjectEventArgs.Object property (cast its value to the Resource type).