IGHAObjectSubscribeToDelete Method |
[This is preliminary documentation and is subject to change.]
Subscribes to the Delete object event for the object. Invokes event handler if a child object is deleted under the owning object.
Namespace:
GHASchema
Assembly:
GHASchema (in GHASchema.dll) Version: 1.1.8074.31450 (1.0.0.0)
SyntaxGuid SubscribeToDelete(
Object Subscriber,
string EventHandlerName,
bool persist = true
)
Parameters
- Subscriber
- Type: SystemObject
Object containing the event handler - EventHandlerName
- Type: SystemString
Name of the event handler to invoke in response to the object Delete event - persist (Optional)
- Type: SystemBoolean
Makes the subscription persist across GHA restarts if true. Subscription only valid until the next restart if false
Return Value
Type:
GuidUnique identifier for the subscription
See Also