Share via


MonitoringState.GetMonitoringStateChangeEvents Method

Definition

Caution

Use this.GetStateChangeEvents

Gets any state change events associated with this state.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringStateChangeEvent ^> ^ GetMonitoringStateChangeEvents();
[System.Obsolete("Use this.GetStateChangeEvents")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringStateChangeEvent> GetMonitoringStateChangeEvents ();
member this.GetMonitoringStateChangeEvents : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringStateChangeEvent>
Public Function GetMonitoringStateChangeEvents () As ReadOnlyCollection(Of MonitoringStateChangeEvent)

Returns

A collection of state change event objects.

Attributes

Exceptions

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

Applies to