HP Operations Manager for Windows

OV_Tools::AddAction()
OV_Tools::AddAction_Trans()


boolean AddAction(
[in] string ActionName)
boolean AddAction_Trans(
[in] string TransId,
[in] string ActionName)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ActionName
The Name property of the instance of OV_Action to be added to this tool group.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Adds a tool (instance of OV_Action) to this tool group as a child tool.

Return Value

False if the tool is already a child of this tool group.

Extended Status Codes

MDLAPI_E_TOOL_NOT_EXIST
Tool does not exist.
MDLAPI_E_TOOL_HIERPATH_EXISTS
Tool with the same Caption is already a child of the parent tool group.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.