ManagementGroup::UpdateMonitoringAlerts<T> Method (IList<T>^, String^, MonitoringConnector^)
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 a specified collection of monitoring alerts for a specified connector 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, MonitoringConnector^ connector )
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.
- connector
-
Type:
Microsoft.EnterpriseManagement.ConnectorFramework::MonitoringConnector^
The connector for which to update the alerts.
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: