OV_ServiceTypeDefinition::GetDependentServiceTypes()
OV_ServiceTypeDefinition::GetDependentServiceTypes_Trans()
- sint32 GetDependentServiceTypes(
- [out] OV_ServiceTypeDefinition DependentServiceTypes[],
- [in, optional] boolean IncludeAllDependent)
- sint32 GetDependentServiceTypes_Trans(
- [in] string TransId,
- [out] OV_ServiceTypeDefinition DependentServiceTypes[],
- [in, optional] boolean IncludeAllDependent)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- DependentServiceTypes
- Instances of OV_ServiceTypeDefinition that are dependent on
this service type. An instance is valid as a returned out parameter
only if the method does not fail.
- IncludeAllDependent
- This flag indicates which dependent service types to include.
Optional parameter. Default value is false (only immediately
dependent service types are included).
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns a list of service types (instances of
OV_ServiceTypeDefinition) that are dependent on this service
type.
Return Value
Number of service types in the out parameter
DependentServiceTypes.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.