Share via


PartialMonitoringObject.GetMonitoringStates Method

Definition

Overloads

GetMonitoringStates(IEnumerable<ManagementPackMonitor>)

Gets monitoring state for this monitoring object.

GetMonitoringStates(ICollection<ManagementPackMonitor>)
Obsolete.

Gets monitoring state for this monitoring object.

GetMonitoringStates(IEnumerable<ManagementPackMonitor>)

Gets monitoring state for this monitoring object.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringState ^> ^ GetMonitoringStates(System::Collections::Generic::IEnumerable<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ monitors);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringState> GetMonitoringStates (System.Collections.Generic.IEnumerable<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> monitors);
member this.GetMonitoringStates : seq<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringState>
Public Function GetMonitoringStates (monitors As IEnumerable(Of ManagementPackMonitor)) As IList(Of MonitoringState)

Parameters

monitors
IEnumerable<ManagementPackMonitor>

The monitors.

Returns

The states..

Applies to

GetMonitoringStates(ICollection<ManagementPackMonitor>)

Caution

This version will be removed in favor of the version that return IList and takes IEnumerable

Gets monitoring state for this monitoring object.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringState ^> ^ GetMonitoringStates(System::Collections::Generic::ICollection<Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitor ^> ^ monitors);
[System.Obsolete("This version will be removed in favor of the version that return IList and takes IEnumerable")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringState> GetMonitoringStates (System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> monitors);
member this.GetMonitoringStates : System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitor> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringState>
Public Function GetMonitoringStates (monitors As ICollection(Of ManagementPackMonitor)) As ReadOnlyCollection(Of MonitoringState)

Parameters

monitors
ICollection<ManagementPackMonitor>

The monitors.

Returns

The states..

Attributes

Applies to