The monitoring connector acknowledges that it has successfully received monitoring alerts from the Microsoft.EnterpriseManagement.ConnectorFramework. The latest alert timestamp will be used. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringConnector
Dim alerts As ICollection(Of ConnectorMonitoringAlert)

instance.AcknowledgeMonitoringAlerts(alerts)

Syntax

Visual Basic
Public Sub AcknowledgeMonitoringAlerts ( _
		alerts As ICollection(Of ConnectorMonitoringAlert) _
)
C#
public void AcknowledgeMonitoringAlerts (
		ICollection<ConnectorMonitoringAlert> alerts
)
C++
public:
void AcknowledgeMonitoringAlerts (
		ICollection<ConnectorMonitoringAlert^>^ alerts
)
J#
public void AcknowledgeMonitoringAlerts (
		ICollection<ConnectorMonitoringAlert> alerts
)
JScript
public function AcknowledgeMonitoringAlerts (
		alerts : ICollection<ConnectorMonitoringAlert>
)

Parameters

alerts

A collection of ConnectorMonitoringAlert objects. All the alerts prior to the alert with the maximum timestamp are acknowledged.

Remarks

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also