다음을 통해 공유


PartialMonitoringObject.GetMonitorHierarchy Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the root monitor that is targeted toward this object instance and its base types, and populates a hierarchy of objects that you can navigate.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")]
public MonitoringHierarchyNode<ManagementPackMonitor> GetMonitorHierarchy()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")]
MonitoringHierarchyNode<ManagementPackMonitor^>^ GetMonitorHierarchy()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")>]
member GetMonitorHierarchy : unit -> MonitoringHierarchyNode<ManagementPackMonitor>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")>
Public Function GetMonitorHierarchy As MonitoringHierarchyNode(Of ManagementPackMonitor)

Return Value

Type: Microsoft.EnterpriseManagement.Common.MonitoringHierarchyNode<ManagementPackMonitor>

Returns a MonitoringHierarchyNode<T> object.

Remarks

A MonitoringHierarchyNode<T>object to obtain theChildNodes object and the ParentNodeobject of the PartialMonitoringObject object

Examples

For a code example that uses this method, see How to Display Information about a Monitoring Object

See Also

PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top