HP Operations Manager for Windows

OV_Service::GetHostNodeGroup()
OV_Service::GetHostNodeGroup_Trans()


boolean GetHostNodeGroup(
[out] OV_NodeGroup NodeGroup)
boolean GetHostNodeGroup_Trans(
[in] string TransId,
[out] OV_NodeGroup NodeGroup)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeGroup
Instance of OV_NodeGroup on which this service is hosted.

Calling Convention

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

Description

Returns false if this service is not hosted on the specified node group, or if it is hosted on another instance (for example, on another node).

If the node is hosted on a node group that cannot be found, the method returns MDLAPI_E_NODEGROUP_NOT_EXIST.

Return Value

False if this service is not hosted on a node group, or if it is hosted on another instance.

Extended Status Codes

MDLAPI_E_NODEGROUP_NOT_EXIST
Node Group does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.