HP Operations Manager for Windows

OV_Tools::GetActions()
OV_Tools::GetActions_Trans()


sint32 GetActions(
[out] OV_Action Actions[],
[in, optional] boolean IncludeSubGroups)
sint32 GetActions_Trans(
[in] string TransId,
[out] OV_Action Actions[],
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Actions
Instances of OV_Action that are children (directly or indirectly, if IncludeSubGroups is equal to true) of this tool group. An instance is valid as a returned out parameter only if the method does not fail.
IncludeSubGroups
Indicates whether Actions also contain instances of OV_Action that are child tools of all child groups (recursive). Optional parameter. Default value is false.

Calling Convention

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

Description

Returns a list of tools (instances of OV_Action) that are children of this tool group.

Return Value

Number of tools (children) in the out parameter Actions.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.