ManagementGroup::GetMonitoringStateForMonitoringObjects<T> Method (ICollection<T>^, ICollection<ManagementPackMonitor^>^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Retrieves the monitoring state for a collection of monitoring objects and monitors.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : PartialMonitoringObject [ObsoleteAttribute("Please use EntityObjects.GetMonitoringStateForObjects<T>()")] Dictionary<T, ReadOnlyCollection<MonitoringState^>^>^ GetMonitoringStateForMonitoringObjects( ICollection<T>^ monitoringObjects, ICollection<ManagementPackMonitor^>^ monitors )
Parameters
- monitoringObjects
-
Type:
System.Collections.Generic::ICollection<T>^
The monitoring objects for which the monitoring state is returned.
- monitors
-
Type:
System.Collections.Generic::ICollection<ManagementPackMonitor^>^
The monitor objects for which the monitoring state is returned.
Return Value
Type: System.Collections.Generic::Dictionary<T, ReadOnlyCollection<MonitoringState^>^>^Returns aDictionary<TKey, TValue> object ofMonitoringState objects.
Type Parameters
- T
Must be of type PartialMonitoringObject
Show: