PartialMonitoringObject::GetMonitorHierarchy Method ()
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
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.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")] MonitoringHierarchyNode<ManagementPackMonitor^>^ GetMonitorHierarchy()
Return Value
Type: Microsoft.EnterpriseManagement.Common::MonitoringHierarchyNode<ManagementPackMonitor^>^Returns a MonitoringHierarchyNode<T> object.
A MonitoringHierarchyNode<T>object to obtain theChildNodes object and the ParentNodeobject of the PartialMonitoringObject object
For a code example that uses this method, see How to Display Information about a Monitoring Object
Show: