Compartilhar via


MonitoringClass.GetMonitorHierarchy Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the root monitor that targets this monitoring class and base classes, and then populates a MonitoringHierarchyNode<T> object with the monitor hierarchy.

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

Syntax

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

Return Value

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

Returns a MonitoringHierarchyNode<T> object.

See Also

MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top