HP Operations Manager for Windows

OV_NodeGroup::SetGraph()
OV_NodeGroup::SetGraph_Trans()


void SetGraph(
[in, optional] string GraphFamily,
[in] string GraphCategory)
void SetGraph_Trans(
[in] string TransId,
[in, optional] string GraphFamily,
[in] string GraphCategory)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
GraphFamily
New GraphFamily property value of this node group. Optional parameter.
GraphCategory
New GraphCategory property value of this node group.

Calling Convention

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

Description

Adds graph properties to this node group.

If the Performance Manager integration tool is not installed, the method returns MDLAPI_E_NO_GRAPH_INTEGRATION. Graph family and graph category must be valid. Otherwise, the method fails with MDLAPI_E_GRAPH_NOT_EXIST. If only graph category is selected, the graph family is selected automatically.

Return Value

None.

Extended Status Codes

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