HP Operations Manager for Windows

OV_Service::SetCalculationRule()
OV_Service::SetCalculationRule_Trans()


void SetCalculationRule(
[in] string CalcRuleId)
void SetCalculationRule_Trans(
[in] string TransId,
[in] string CalcRuleId)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
CalcRuleId
New CalcRuleId property value of this service.

Calling Convention

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

Description

Sets the calculation rule (instance of OV_CalculationRule) of this service.

Return Value

None.

Extended Status Codes

MDLAPI_E_CALCRULE_NOT_EXIST
Calculation rule does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.