MonitoringClass.GetMonitorHierarchy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use ManagementGroup.Monitoring.GetMonitorHierarchy
Gets the root monitor targeted toward this type and its base classes and prepopulates a navigatable heirarchy.
public:
Microsoft::EnterpriseManagement::Common::MonitoringHierarchyNode<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ GetMonitorHierarchy();
[System.Obsolete("Use ManagementGroup.Monitoring.GetMonitorHierarchy")]
public Microsoft.EnterpriseManagement.Common.MonitoringHierarchyNode<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> GetMonitorHierarchy ();
member this.GetMonitorHierarchy : unit -> Microsoft.EnterpriseManagement.Common.MonitoringHierarchyNode<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor>
Public Function GetMonitorHierarchy () As MonitoringHierarchyNode(Of ManagementPackMonitor)
Returns
The root ManagementPackMonitor, or null if there isn't one.
- Attributes