OV_Service::GetCalculationRule()
OV_Service::GetCalculationRule_Trans()
- OV_CalculationRule GetCalculationRule()
- OV_CalculationRule GetCalculationRule_Trans(
- [in] string TransId)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns the calculation rule (instance of OV_CalculationRule) of
this service.
Return Value
Instance of OV_CalculationRule of this service.
Extended Status Codes
- MDLAPI_E_CALCRULE_NOT_EXIST
- Calculation rule does not exist.
- MDLAPI_E_INVALID_PROPERTY
- Property is not valid.
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.