OV_Service::HasDependentService()
OV_Service::HasDependentService_Trans()
- boolean HasDependentService(
- [in] string DependentName,
- [in, optional] boolean IncludeAllDependent)
- boolean HasDependentService_Trans(
- [in] string TransId,
- [in] string DependentName,
- [in, optional] boolean IncludeAllDependent)
Parameters
- TransId
- Transaction ID returned from OV_Transaction::Start().
- DependentName
- The Name property of the service (instance of OV_Service) used
to verify that the specified service is dependent on this
service.
- IncludeAllDependent
- This flag indicates which dependent services to include.
Optional parameter. Default value is false (only the immediately
subordinate services are searched).
Calling Convention
These methods can be called only from a WMI instance object.
Description
Returns true if the specified service (instance of OV_Service)
is dependent on this service.
Return Value
True if the specified service (instance of OV_Service) is
dependent on this service.
Extended Status Codes
- MDLAPI_E_TRANSACTION_NOT_EXIST
- Transaction with the specified ID does not exist.