PartialMonitoringObject::GetMonitoringStates Method (ICollection<ManagementPackMonitor^>^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Gets the monitoring state of the specified monitor objects.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("This version will be removed in favor of the version that return IList and takes IEnumerable")] ReadOnlyCollection<MonitoringState^>^ GetMonitoringStates( ICollection<ManagementPackMonitor^>^ monitors )
Parameters
- monitors
-
Type:
System.Collections.Generic::ICollection<ManagementPackMonitor^>^
The monitors for which to get the state.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringState^>^Returns ReadOnlyCollection<T> of MonitoringState values.
Show: