OV_Action::GetServiceTypes()
OV_Action::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 that are associated with
this tool. 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 tool is added.
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.