HP Operations Manager for Windows

OV_ServiceTypeDefinition::HasAntecedentServiceType()
OV_ServiceTypeDefinition::HasAntecedentServiceType_Trans()


boolean HasAntecedentServiceType(
[in] string AntecedentGUID,
[in, optional] boolean IncludeAllAntecedent)
boolean HasAntecedentServiceType_Trans(
[in] string TransId,
[in] string AntecedentGUID,
[in, optional] boolean IncludeAllAntecedent)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
AntecedentGUID
The GUID property of the antecedent service type (instance of OV_ServiceTypeDefinition) on which this service depends.
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 true if this service type is dependent on the specified service type (instance of OV_ServiceTypeDefinition).

Return Value

True if the service type (instance of OV_ServiceTypeDefinition) specified by a parameter ServiceTypeGUID is the antecedent service type on which this service type depends.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.