HP Operations Manager for Windows

OV_Tools::ChangeName()
OV_Tools::ChangeName_Trans()


void ChangeName(
[in] OV_Tools ToolGroup,
[in, optional] string NewName)
void ChangeName_Trans(
[in] string TransId,
[in] OV_Tools ToolGroup,
[in, optional] string NewName)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ToolGroup
Instance of OV_Tools to change the Name property.
NewName
The New Name property for this instance of OV_Tools. Optional parameter. If you do not specify this parameter, or if it is equal to an empty string, the Name property is created as a new GUID. If a tool group with the same Name already exists, nothing happens, and the method fails with MDLAPI_E_TOOLGROUP_NAME_EXISTS.

Calling Convention

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

Description

Changes the Name property of this tool group.

Return Value

None.

Extended Status Codes

MDLAPI_E_TOOLGROUP_NAME_EXISTS
Tool Group with the same Name already exists.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.