HP Operations Manager for Windows

OV_Tools::Remove()
OV_Tools::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 the instance of OV_Tools to be removed.

Calling Convention

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

Description

Removes the specified tool group (instance of OV_Tools).

Caution CAUTION:
This method also removes all child tool groups that are not contained in any other tool group. If tools that are contained in this tool group are not contained in any other tool group, they are also removed.
Note NOTE:
The root tool group cannot be removed.

Return Value

None.

Extended Status Codes

MDLAPI_E_TOOLGROUP_NOT_EXIST
Tool Group does not exist.
MDLAPI_E_TOOLGROUP_IS_ROOT
Root Tool Group cannot be removed from or added to another tool group.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.