Compartilhar via


PartialMonitoringObject.GetMonitoringStates Method (ICollection<ManagementPackMonitor>)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets the monitoring state of the specified monitor objects.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")]
public ReadOnlyCollection<MonitoringState> GetMonitoringStates(
    ICollection<ManagementPackMonitor> monitors
)
public:
[ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")]
ReadOnlyCollection<MonitoringState^>^ GetMonitoringStates(
    ICollection<ManagementPackMonitor^>^ monitors
)
[<ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")>]
member GetMonitoringStates : 
        monitors:ICollection<ManagementPackMonitor> -> ReadOnlyCollection<MonitoringState>
<ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")>
Public Function GetMonitoringStates (
    monitors As ICollection(Of ManagementPackMonitor)
) As ReadOnlyCollection(Of MonitoringState)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringState>

Returns ReadOnlyCollection<T> of MonitoringState values.

See Also

GetMonitoringStates Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top