HP Operations Manager for Windows

OV_ServiceTypeDefinition::GetAntecedentServiceTypes()
OV_ServiceTypeDefinition::GetAntecedentServiceTypes_Trans()


sint32 GetAntecedentServiceTypes(
[out] OV_ServiceTypeDefinition AntecedentServiceTypes[],
[in, optional] boolean IncludeAllAntecedent)
sint32 GetAntecedentServiceTypes_Trans(
[in] string TransId,
[out] OV_ServiceTypeDefinition AntecedentServiceTypes[],
[in, optional] boolean IncludeAllAntecedent)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AntecedentServiceTypes
Instances of OV_ServiceTypeDefinition on which the specified service type has dependencies. An instance is valid as a returned out parameter only if the method does not fail.
IncludeAllAntecedent
This flag indicates which antecedent service types to include. Optional parameter. Default value is false (only immediately antecedent service types are included).

Calling Convention

These methods can be called only from a WMI instance object.

Description

Returns a list of services types (instances of OV_ServiceTypeDefinition) on which this service type is dependent.

Return Value

Number of antecedent service types in the out parameter AntecedentServiceTypes.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.