HP Operations Manager for Windows

OV_Action::GetNodeGroups()
OV_Action::GetNodeGroups_Trans()


sint32 GetNodeGroups(
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeInherited)
sint32 GetNodeGroups_Trans(
[in] string TransId,
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeInherited)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeGroups
Instances of OV_NodeGroup to which this node group is added. An instance is valid as a returned out parameter only if the method does not fail.
IncludeInherited
Defines whether the NodeGroup also contains child node groups (recursive) of the node groups where this tool was associated. (Tools are inherited from the node group parent.) Optional parameter. Default value is false.

Calling Convention

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

Description

Returns a list of node groups (instances of OV_NodeGroup) with which this tool is associated.

Return Value

The Number of node groups in out parameter NodeGroups.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.