ManagementGroup.GetMonitoringRecoveries<T> Method (ICollection<T>)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring recovery objects for the specified class.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Monitoring.GetRecoveries<T>()")]
public ReadOnlyCollection<MonitoringRecovery> GetMonitoringRecoveries<T>(
ICollection<T> monitoringObjects
)
where T : PartialMonitoringObject
public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use Monitoring.GetRecoveries<T>()")]
ReadOnlyCollection<MonitoringRecovery^>^ GetMonitoringRecoveries(
ICollection<T>^ monitoringObjects
)
[<ObsoleteAttribute("Please use Monitoring.GetRecoveries<T>()")>]
member GetMonitoringRecoveries<'T when 'T : PartialMonitoringObject> :
monitoringObjects:ICollection<'T> -> ReadOnlyCollection<MonitoringRecovery>
<ObsoleteAttribute("Please use Monitoring.GetRecoveries<T>()")>
Public Function GetMonitoringRecoveries(Of T As PartialMonitoringObject) (
monitoringObjects As ICollection(Of T)
) As ReadOnlyCollection(Of MonitoringRecovery)
Parameters
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 ofEnterpriseManagement.Configuration.MonitoringRecovery objects.
Type Parameters
- T
Must be of type PartialMonitoringObject
See Also
GetMonitoringRecoveries Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top