HP Operations Manager for Windows

OV_ServiceTypeDefinition::IsChildOf()
OV_ServiceTypeDefinition::IsChildOf_Trans()


boolean IsChildOf(
[in] string ParentGUID)
boolean IsChildOf_Trans(
[in] string TransId,
[in] string ParentGUID)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ParentGUID
The GUID property of the service type (instance of OV_ServiceTypeDefinition) to check if the service type is the parent of this service type.

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 parent of this service type. Only immediate child service types are checked.

Return Value

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

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.