HP Operations Manager for Windows

OV_Action::IsChildOf()
OV_Action::IsChildOf_Trans()


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

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ParentName
The Name property of the tool group (instance of OV_Tools) to check if the tool group is the parent of this tool.

Calling Convention

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

Description

Returns true if the specified tool group (instance of OV_Tools) is a parent of this tool.

Return Value

True if the tool group (instance of OV_Tools) specified by the ParentName parameter is a parent of this tool.

Extended Status Codes

MDLAPI_E_TOOLGROUP_NOT_EXIST
Tool Group does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.