PartialMonitoringObject::GetMonitorHierarchy Method ()

System Center
 

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)

public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetMonitorHierarchy methods that take this object")]
MonitoringHierarchyNode<ManagementPackMonitor^>^ GetMonitorHierarchy()

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

Return to top
Show: