HP Operations Manager for Windows

OV_ExternalNode::GetParents()
OV_ExternalNode::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 the direct parents of this external node. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllHierarchicalParents
Defines 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 the node groups for which this external node is a child.

Return Value

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

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.