HP Operations Manager for Windows

OV_ManagedNode::Remove()
OV_ManagedNode::Remove_Trans()


void Remove(
[in] string Name)
void Remove_Trans(
[in] string TransId,
[in] string Name)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Name
The Name property of an instance of OV_ManagedNode to be removed.

Calling Convention

These methods can be called from a WMI class or instance object.

Description

Removes the specified node (instance of OV_ManagedNode).

Objects that are associated with this node are not removed. Only associations are removed. The management server cannot be removed! Any attempt to remove the management server fails with MDLAPI_E_NODE_IS_MANAGEMENT_SERVER.

Caution CAUTION:
This method removes the specified node, and the services hosted on it, from the management server inventory. Policies and packages on the specified managed node are not removed automatically. But inventory information about the node is removed from the management server database. Always remove policies and packages before removing the node.

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_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.