HP Operations Manager for Windows

OV_NodeGroup::RemoveNode()
OV_NodeGroup::RemoveNode_Trans()


void RemoveNode(
[in] string NodeName)
void RemoveNode_Trans(
[in] string TransId,
[in] string NodeName)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeName
The Name property of the instance of OV_ManagedNode to be removed from this node group.

Calling Convention

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

Description

Removes a node (instance of OV_ManagedNode) from this node group.

Caution CAUTION:
If a node no longer belongs to any node group after this operation, it is removed from STORE. To find out what else is removed when the node is removed, see the description of the Remove class method of OV_ManagedNode.

Return Value

None.

Extended Status Codes

MDLAPI_E_NODE_NOT_EXIST
Node does not exist.
MDLAPI_E_NODE_IS_MANAGEMENT_SERVER
Management server cannot be removed.
MDLAPI_E_NODEGROUP_SPECIAL_REMOVE
Child cannot be removed from a special node group.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.