ManagementGroup::GetMonitoringRecoveries<T> Method (ManagementPackRecoveryCriteria^, ICollection<T>^)
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 a collection of monitoring recovery objects for the specified class that match the specified filter.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : PartialMonitoringObject [ObsoleteAttribute("Please use Monitoring.GetRecoveries<T>()")] ReadOnlyCollection<MonitoringRecovery^>^ GetMonitoringRecoveries( ManagementPackRecoveryCriteria^ criteria, ICollection<T>^ monitoringObjects )
Parameters
- criteria
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackRecoveryCriteria^
A value that specifies the kind of monitoring recovery objects.
- monitoringObjects
-
Type:
System.Collections.Generic::ICollection<T>^
The recovery objects that target these specified monitoring object instances.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringRecovery^>^Returns aReadOnlyCollection<T> object ofMonitoringRecovery objects.
Type Parameters
- T
Must be of type PartialMonitoringObject.
Show: