IScheduledTaskAlerts.RemoveByKey

Syntax

RemoveByKey(Key: Integer): Boolean;

Parameters

Key. Key of deleted event.

Description

The RemoveByKey method deletes an event from the collection by its key.

Comments

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.

Example

The property use is given in the example for IScheduledTaskAuditAlert.ClassId.

See also:

IScheduledTaskAlerts