ManagementGroup::UpdateMonitoringAlerts<T> Method (IList<T>^, String^)
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
Updates the specified collection of monitoring alerts and explains the update.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : MonitoringAlert [ObsoleteAttribute("Please use OperationalData.UpdateMonitoringAlerts<T>()")] ReadOnlyCollection<MonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts( IList<T>^ alerts, String^ comments )
Parameters
- alerts
-
Type:
System.Collections.Generic::IList<T>^
The collection of alerts to update.
- comments
-
Type:
System::String^
The comments that explain the reason for the update.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringAlertUpdateFailure^>^Returns aReadOnlyCollection<T> object ofMonitoringAlertUpdateFailure objects that contain information about the alerts that failed to update.
Type Parameters
- T
Must be of typePartialMonitoringObject.
Show: