IConnectorFramework.AcknowledgeMonitoringAlerts(Guid, DateTime) Method

Definition

Acknowledges alerts up until the given bookmark.

C#
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.OperationContract]
public void AcknowledgeMonitoringAlerts (Guid connectorId, DateTime utcBookmarkTime);

Parameters

connectorId
Guid

The connector id.

utcBookmarkTime
DateTime

The bookmark. All alerts with a timestamp prior to this will be acknowledged.

Attributes

Remarks

The monitoring connector must acknowledge that alerts have been received. Failure to acknowledge an alert will result in subsequent calls to GetMonitoringAlerts returning previously returned alerts until its successful transmission is acknowledged by the monitoring connector.

After acknowledging alerts, you get alerts that are updated after the bookmark time that you acknowledged with.

Applies to

製品 バージョン
System Center OM SDK 2012, 2016, 2019