HP Operations Manager for Windows

OV_ManagedNode::GetByHierarchicalPath()
OV_ManagedNode::GetByHierarchicalPath_Trans()


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

Parameters

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

Calling Convention

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

Description

Returns the node (instance of OV_ManagedNode) specified by a hierarchical path.

Return Value

Instance of OV_ManagedNode specified by a hierarchical path.

Extended Status Codes

MDLAPI_E_NODE_NOT_EXIST
Node does not exist.
MDLAPI_E_TRANSACTION_NOT_EXIST
Transaction with the specified ID does not exist.