HP Operations Manager for Windows

OV_ServiceTypeDefinition::HasDependentServiceType()
OV_ServiceTypeDefinition::HasDependentServiceType_Trans()


boolean HasDependentServiceType(
[in] string DependentGUID,
[in, optional] boolean IncludeAllDependent)
boolean HasDependentServiceType_Trans(
[in] string TransId,
[in] string DependentGUID,
[in, optional] boolean IncludeAllDependent)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
DependentGUID
The GUID property of the service type (instance of OV_ServiceTypeDefinition) that depends on this service type.
IncludeAllDependent
This flag indicates which dependent service types to include. Optional parameter. Default value is false (only immediately dependent service types are searched).

Calling Convention

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

Description

Returns true if the specified service type (instance of OV_ServiceTypeDefinition) is dependent on this service type.

Return Value

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

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.