次の方法で共有


MonitoringConnector.AcknowledgeMonitoringAlerts Method (ICollection<ConnectorMonitoringAlert>)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public void AcknowledgeMonitoringAlerts(
    ICollection<ConnectorMonitoringAlert> alerts
)
public:
void AcknowledgeMonitoringAlerts(
    ICollection<ConnectorMonitoringAlert^>^ alerts
)
member AcknowledgeMonitoringAlerts : 
        alerts:ICollection<ConnectorMonitoringAlert> -> unit
Public Sub AcknowledgeMonitoringAlerts (
    alerts As ICollection(Of ConnectorMonitoringAlert)
)

Parameters

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.

See Also

AcknowledgeMonitoringAlerts Overload
MonitoringConnector Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top