HP Operations Manager for Windows

OV_NodeGroup::GetExternalNodes()
OV_NodeGroup::GetExternalNodes_Trans()


sint32 GetExternalNodes(
[out] OV_ExternalNode Nodes[],
[in, optional] boolean IncludeSubGroups)
sint32 GetExternalNodes_Trans(
[in] string TransId,
[out] OV_ExternalNode Nodes[],
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Nodes
Instances of OV_ExternalNode 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_ExternalNode 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 external nodes (instances of OV_ExternalNode) that are children of this node group.

Return Value

Number of external nodes (children) in out parameter Nodes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.