HP Operations Manager for Windows

OV_Service::GetDependentServices()
OV_Service::GetDependentServices_Trans()


sint32 GetDependentServices(
[out] OV_Service DependentServices[],
[in, optional] boolean IncludeAllDependent)
sint32 GetDependentServices_Trans(
[in] string TransId,
[out] OV_Service DependentServices[],
[in, optional] boolean IncludeAllDependent)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
DependentServices
Instances of OV_Service that are dependent on this service. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllDependent
This flag indicates which dependent 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 dependent on this service.

Return Value

Number of services in the out parameter DependentServices.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.