HP Operations Manager for Windows

OV_Action::GetByHierarchicalPath()
OV_Action::GetByHierarchicalPath_Trans()


OV_Action GetByHierarchicalPath(
[in] string Path)
OV_Action 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, they should be escaped with backslashes (for example, "\\").

Calling Convention

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

Description

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

Return Value

Instance of OV_Action specified by the hierarchical path.

Extended Status Codes

MDLAPI_E_TOOL_NOT_EXIST
Tool does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.