HP Operations Manager for Windows

OV_Service::GetAntecedentServices()
OV_Service::GetAntecedentServices_Trans()


sint32 GetAntecedentServices(
[out] OV_Service AntecedentServices[],
[in, optional] boolean IncludeAllAntecedent)
sint32 GetAntecedentServices_Trans(
[in] string TransId,
[out] OV_Service AntecedentServices[],
[in, optional] boolean IncludeAllAntecedent)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AntecedentServices
Instances of OV_Service on which the specified service has dependencies. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllAntecedent
This flag indicates which antecedent services to include. Optional parameter. Default value is false (only immediately antecedent 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) on which this service is dependent.

Return Value

Number of services in the out parameter AntecedentServices.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.