ManagementGroup::GetMonitoringStateForMonitoringObjects<T> Method (ICollection<T>^, ICollection<ManagementPackMonitor^>^)

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring state for a collection of monitoring objects and monitors.

Namespace:   Microsoft.EnterpriseManagement
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.

Type Parameters

T

Must be of type PartialMonitoringObject

Return to top
Show: