HP Operations Manager for Windows

OV_ManagedNode::AddAction()
OV_ManagedNode::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 node.

Calling Convention

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

Description

Adds the tool (instance of OV_Action) to this node.

Return Value

False if the tool is already added to this node.

Extended Status Codes

MDLAPI_E_TOOL_NOT_EXIST
Tool does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.