HP Operations Manager for Windows

OV_ServiceTypeDefinition::HasChildServiceType()
OV_ServiceTypeDefinition::HasChildServiceType_Trans()


boolean HasChildServiceType(
[in] string ChildGUID,
[in, optional] boolean IncludeAllSubordinate)
boolean HasChildServiceType_Trans(
[in] string TransId,
[in] string ChildGUID,
[in, optional] boolean IncludeAllSubordinate)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ChildGUID
The GUID property of the service (instance of OV_ServiceTypeDefinition) used to verify that the service type is a child of this service type.
IncludeAllSubordinate
This flag indicates how to search the specified child service type. Optional parameter. Default value is false (only immediately subordinate 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 a child of this service type.

Return Value

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

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.