HP Operations Manager for Windows

OV_Service::SetMessageWeightFactor()
OV_Service::SetMessageWeightFactor_Trans()


void SetMessageWeightFactor(
[in] real32 MsgWeightFactor)
void SetMessageWeightFactor_Trans(
[in] string TransId,
[in] real32 MsgWeightFactor)

Parameters

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

Calling Convention

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

Description

Sets the message weight factor of this service.

If the new message weight factor value is not valid, the method returns MDLAPI_E_INVALID_PARAMETER.

Return Value

None.

Extended Status Codes

MDLAPI_E_INVALID_PARAMETER
Parameter is not valid.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.