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