RemoveByKey(Key: Integer): Boolean;
RemoveByKey(Key: uinteger): boolean;
Key. Key of deleted event.
The RemoveByKey method deletes an event from the collection by its key.
If the event is successfully deleted from the collection, the method returns True, otherwise False.
To search for an event in the collection by its key, use the IScheduledTaskAlerts.FindByKey method.
The property use is given in the example for IScheduledTaskAuditAlert.ClassId.
See also: