HP Operations Manager for Windows

OV_NodeGroup::HasChildNode()
OV_NodeGroup::HasChildNode_Trans()


boolean HasChildNode(
[in] string NodeName,
[in, optional] boolean IncludeSubGroups)
boolean HasChildNode_Trans(
[in] string TransId,
[in] string NodeName,
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeName
The Name property of the node (instance of OV_ManagedNode) used to verify that the node is a child of this node group.
IncludeSubGroups
Indicates whether the node to find is also searched in child groups (recursive). Optional parameter. Default value is false.

Calling Convention

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

Description

Returns true if the specified node (instance of OV_ManagedNode) is a child of this node group.

Return Value

True if the node (instance of OV_ManagedNode) specified by the NodeName parameter is a child of this node group.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.