Syntax
HRESULT DeleteActionById(
[in] long ActionId,
[out, retval] VARIANT_BOOL* Success
);
Parameters
ActionId
[in] ID of the Action to delete.
Success
[out, retval] TRUE if the specified Action was successfully deleted, FALSE if deleting the
Action failed.
Remarks
Using the Action’s ID, this function locates the owning Event and removes the Action from the Event’s list of
Actions.
DeleteActionByIdx ( EventId, Idx )
Delete an Action from the specified Event’s list of Actions.
Syntax
HRESULT DeleteActionByIdx(
[in] long EventId,
[in] long Idx,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of the Event that owns the Action.
Idx
[in] Index into the Event’s list of Actions that identifies which Action to delete.
Success
[out, retval] TRUE if the specified Action was successfully deleted, FALSE if deleting the
Action failed.
DeleteActionByName ( EventId, Name )
Delete an Action specified by its Event ID and Action name.
Syntax
HRESULT DeleteActionByName(
[in] long EventId,
[in] BSTR Name,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of the Event that owns the Action to delete.
Name
[in] Name of Action to delete.
Success
[out, retval] TRUE if the specified Action was successfully deleted, FALSE if deleting the
Action failed.
14