PartialMonitoringObject.GetMonitoringStateHierarchy 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 this.GetStateHierarchy
This method returns the state hierarchy for this monitoring object.
public:
Microsoft::EnterpriseManagement::Common::MonitoringHierarchyNode<Microsoft::EnterpriseManagement::Monitoring::MonitoringState ^> ^ GetMonitoringStateHierarchy();
[System.Obsolete("Use this.GetStateHierarchy")]
public Microsoft.EnterpriseManagement.Common.MonitoringHierarchyNode<Microsoft.EnterpriseManagement.Monitoring.MonitoringState> GetMonitoringStateHierarchy ();
member this.GetMonitoringStateHierarchy : unit -> Microsoft.EnterpriseManagement.Common.MonitoringHierarchyNode<Microsoft.EnterpriseManagement.Monitoring.MonitoringState>
Public Function GetMonitoringStateHierarchy () As MonitoringHierarchyNode(Of MonitoringState)
Returns
The root state of the monitoring object.
- Attributes
Exceptions
There was invalid data in the database corresponding to this method call.
No state data found
Examples
For a code example that uses this method, see How to Display Information about a Monitoring Object.