HP Operations Manager for Windows

OV_Tools::GetChildToolGroups()
OV_Tools::GetChildToolGroups_Trans()


sint32 GetChildToolGroups(
[out] OV_Tools ToolGroups[],
[in, optional] boolean IncludeSubGroups)
sint32 GetChildToolGroups_Trans(
[in] string TransId,
[out] OV_Tools ToolGroups[],
[in, optional] boolean IncludeSubGroups)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
ToolGroups
Instances of OV_Tools 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 ToolGroups also contains instances of OV_Tools that are child tool groups 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 tool groups (instances of OV_Tools) that are children of this tool group.

Return Value

Number of tool groups (children) in the out parameter ToolGroups.

Extended Status Codes

MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.