IConnectorFramework.AcknowledgeMonitoringAlerts(Guid, DateTime) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Acknowledges alerts up until the given bookmark.
public:
void AcknowledgeMonitoringAlerts(Guid connectorId, DateTime utcBookmarkTime);
[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);
abstract member AcknowledgeMonitoringAlerts : Guid * DateTime -> unit
Public Sub AcknowledgeMonitoringAlerts (connectorId As Guid, utcBookmarkTime As DateTime)
- connectorId
- Guid
The connector id.
- utcBookmarkTime
- DateTime
The bookmark. All alerts with a timestamp prior to this will be acknowledged.
- Attributes
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.
製品 | バージョン |
---|---|
System Center OM SDK | 2012, 2016, 2019 |