HP Operations Manager for Windows

OV_NodeGroup::GetNodes()
OV_NodeGroup::GetNodes_Trans()


sint32 GetNodes(
[out] OV_ManagedNode Nodes[],
[in, optional] boolean IncludeSubGroups)
sint32 GetNodes_Trans(
[in] string TransId,
[out] OV_ManagedNode Nodes[],
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Nodes
Instances of OV_ManagedNode that are children (directly or indirectly, if IncludeSubGroups is equal to true) of this node group. An instance is valid as a returned out parameter only if the method does not fail.
IncludeSubGroups
Indicates whether Nodes also contain instances of OV_ManagedNode that are child nodes of all child groups (recursive). Optional parameter. Default value is false.

Calling Convention

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

Description

Returns a list of nodes (instances of OV_ManagedNode) that are children of this node group.

Return Value

Number of nodes (children) in out parameter Nodes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.