HP Operations Manager for Windows

OV_NodeGroup::HasAction()
OV_NodeGroup::HasAction_Trans()


boolean HasAction(
[in] string ActionName,
[in, optional] boolean IncludeInherited)
boolean HasAction_Trans(
[in] string TransId,
[in] string ActionName,
[in, optional] boolean IncludeInherited)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ActionName
The Name property of the tool (instance of OV_Action) used to verify that the tool is associated with this node group.
IncludeInherited
Indicates whether the tool to find can also be inherited from these node group parents (and their parents, recursively). Optional parameter. Default value is false.

Calling Convention

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

Description

Returns true if the specified tool (instance of OV_Action) is associated with this node group.

Return Value

True if the tool (instance of OV_Action) specified with the ActionName parameter is associated with this node group.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.