OV_CalculationRule::GetServiceTypes()
OV_CalculationRule::GetServiceTypes_Trans()
- sint32 GetServiceTypes(
- [out] OV_ServiceTypeDefinition ServiceTypes[] )
- sint32 GetServiceTypes_Trans(
- [in] string TransId,
- [out] OV_ServiceTypeDefinition ServiceTypes[] )
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- ServiceTypes
- Instances of OV_ServiceTypeDefinition where this calculation
rule is used. An instance is valid as a returned out parameter only
if the method does not fail.
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns a list of service types (instances of
OV_ServiceTypeDefinition) where this calculation rule is used.
Return Value
Number of service types in the out parameter ServiceTypes.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.