IScheduledTaskAlerts.RemoveByKey

Fore Syntax

RemoveByKey(Key: Integer): Boolean;

Fore.NET Syntax

RemoveByKey(Key: uinteger): 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.

Fore and Fore.NET Examples

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

See also:

IScheduledTaskAlerts