Share via


PartialMonitoringObject.GetStateHierarchy Method

Definition

This method returns the state hierarchy for this monitoring object.

public:
 Microsoft::EnterpriseManagement::Common::HierarchyNode<Microsoft::EnterpriseManagement::Monitoring::MonitoringState ^> ^ GetStateHierarchy();
public Microsoft.EnterpriseManagement.Common.HierarchyNode<Microsoft.EnterpriseManagement.Monitoring.MonitoringState> GetStateHierarchy ();
member this.GetStateHierarchy : unit -> Microsoft.EnterpriseManagement.Common.HierarchyNode<Microsoft.EnterpriseManagement.Monitoring.MonitoringState>
Public Function GetStateHierarchy () As HierarchyNode(Of MonitoringState)

Returns

The root state of the monitoring object.

Exceptions

There was invalid data in the database corresponding to this method call.

No state data found

Applies to