Revision history:
Introduced in QPR 7.5.1
Deletes a specified action and related parent references.
Synopsis:
Actions.Delete(ActionId, Parameters)
Parameters:
ActionId: Integer. ID of the action that should be deleted.
Parameters: String. Supported parameters:
•Recursive: Boolean. If this is 1 (true), then also the action hierarchy below the selected action is deleted.
Required Rights:
Rights to modify the corresponding action or action hierarchy.
Return Values:
Below are listed the return values that this function can return:
RV_SUCCESS
RV_UNKNOWN_ERROR
RV_ASSOCIATION_NOT_FOUND
RV_ACCESS_DENIED
RV_APPLICATION_QUIT_CALLED
RV_NOT_CONNECTED_TO_SERVER
RV_NOT_AUTHENTICATED
Example Procedure:
iRet = PGApplication.Actions.Delete(iAction, "")