HP Operations Manager for Windows

OV_NodeGroup::Modify()
OV_NodeGroup::Modify_Trans()


void Modify(
[in] OV_NodeGroup NodeGroup)
void Modify_Trans(
[in] string TransId,
[in] OV_NodeGroup NodeGroup)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
NodeGroup
Modified instance of OV_NodeGroup to store.

Calling Convention

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

Description

Stores changes performed to one or more properties.

It is not possible to get an instance of OV_Nodegroup to reflect changes to its properties from within IWbemService::ExecMethodAsync. For this reason, an instance of OV_Nodegroup is specified as the NodeGroup parameter, even though this method is already called in the context of this instance.

As with the OV_NodeGroup::Create method, this method checks the following:

Return Value

None.

Extended Status Codes

MDLAPI_E_PROPERTY_MISSING
Property is not set.
MDLAPI_E_INVALID_PROPERTY
Property is not valid.
MDLAPI_E_INVALID_CAPTION
Specified object Caption parameter is not valid.
MDLAPI_E_NODEGROUP_HIERPATH_EXISTS
Node Group with the same hierarchy path (Caption) already exists.
MDLAPI_E_INVALID_CONFIG_VALUE
Configuration value is not valid.
MDLAPI_E_NO_GRAPH_INTEGRATION
Performance Manager integration tool is not installed.
MDLAPI_E_GRAPH_PROP_NOT_VALID
Graph properties (GraphFamily and GraphCategory) are not valid.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.