HP Operations Manager for Windows

OV_NodeGroup::GetParents()
OV_NodeGroup::GetParents_Trans()


sint32 GetParents(
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeAllHierarchicalParents)
sint32 GetParents_Trans(
[in] string TransId,
[out] OV_NodeGroup NodeGroups[],
[in, optional] boolean IncludeAllHierarchicalParents)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeGroups
Instances of OV_NodeGroup that are parents of this node group. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllHierarchicalParents
Indicates whether NodeGroups also include instances of OV_NodeGroup that are hierarchical parents (recursive until the root node group), rather than direct parents. 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 for which this node group is a child.

Return Value

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

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.