HP Operations Manager for Windows

OV_Tools::HasChildAction()
OV_Tools::HasChildAction_Trans()


boolean HasChildAction(
[in] string ActionName,
[in, optional] boolean IncludeSubGroups)
boolean HasChildAction_Trans(
[in] string TransId,
[in] string ActionName,
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ActionName
The Name property of the tool (instances of OV_Action) that is used to verify that it is a child of this tool group.
IncludeSubGroups
Indicates whether the tool to find is also searched in child groups (recursive). Optional parameter. Default value is false.

Calling Convention

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

Description

Returns true if the specified tool (instances of OV_Action) is a child of this tool group.

Return Value

True if the tool (instance of OV_Action) specified by the ToolName parameter is a child of this tool group.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.