Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MonitoringConnector Dim alerts As ICollection(Of ConnectorMonitoringAlert) instance.AcknowledgeMonitoringAlerts(alerts)Public Sub AcknowledgeMonitoringAlerts ( _ alerts As ICollection(Of ConnectorMonitoringAlert) _ )public void AcknowledgeMonitoringAlerts ( ICollection<ConnectorMonitoringAlert> alerts )public: void AcknowledgeMonitoringAlerts ( ICollection<ConnectorMonitoringAlert^>^ alerts )public void AcknowledgeMonitoringAlerts ( ICollection<ConnectorMonitoringAlert> alerts )public function AcknowledgeMonitoringAlerts ( alerts : ICollection<ConnectorMonitoringAlert> )ParametersalertsA collection of ConnectorMonitoringAlert objects. All the alerts prior to the alert with the maximum timestamp are acknowledged.
The monitoring connector must acknowledge that alerts have been received. Failure to acknowledge an alert will result in subsequent calls to MonitoringConnector returning previously returned alerts. After acknowledging alerts, you get alerts that are updated after the bookmark time that you acknowledged with.
This method acknowledges all of the alerts by acknowledging with the timestamp of the latest alert in the collection.