PartialMonitoringObject.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 methods that take this object
Gets the root monitor targeted toward this instance and its base types and prepopulates a navigatable heirarchy.
public:
Microsoft::EnterpriseManagement::Common::MonitoringHierarchyNode<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ GetMonitorHierarchy();
[System.Obsolete("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")]
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
Examples
For a code example that uses this method, see How to Display Information about a Monitoring Object
Remarks
A MonitoringHierarchyNode<T>object to obtain theChildNodes object and the ParentNodeobject of the PartialMonitoringObject object