HP Operations Manager for Windows

OV_NodeGroup::GetChildNodeGroups()
OV_NodeGroup::GetChildNodeGroups_Trans()


sint32 GetChildNodeGroups(
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeSubGroups)
sint32 GetChildNodeGroups_Trans(
[in] string TransId,
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeGroups
Instances of OV_NodeGroup 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 NodeGroups also contains instances of OV_NodeGroup that are child node groups 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 node groups (instances of OV_NodeGroup) that are children of this node group.

Return Value

Number of node groups (children) in the out parameter NodeGroups.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.