HP Operations Manager for Windows

OV_Tools::GetByHierarchicalPath()
OV_Tools::GetByHierarchicalPath_Trans()


OV_Tools GetByHierarchicalPath(
[in] string Path)
OV_Tools GetByHierarchicalPath_Trans(
[in] string TransId,
[in] string Path)

Parameters

TransId
Transaction ID returned from OV_Transaction::Start().
Path
The tool specified by the hierarchy Path, which consists of Caption/Display Names of the parent Tool Groups and a single backslash as a separator. The Path starts with a single backslash. If the Caption contains additional backslashes, you should escape them with backslashes (for example, "\\").

Calling Convention

These methods can be called from a WMI class or instance object.

Description

Returns the tool group (instance of OV_Tools) specified by the hierarchical path.

Return Value

Instance of OV_Tools specified by the hierarchical path.

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.