Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As ConnectorFrameworkProxy Dim connectorId As Guid Dim utcBookmarkTime As DateTime instance.AcknowledgeMonitoringAlerts(connectorId, utcBookmarkTime) |
Syntax
Visual Basic |
---|
Public Sub AcknowledgeMonitoringAlerts ( _ connectorId As Guid, _ utcBookmarkTime As DateTime _ ) |
C# |
---|
public void AcknowledgeMonitoringAlerts ( Guid connectorId, DateTime utcBookmarkTime ) |
C++ |
---|
public: void AcknowledgeMonitoringAlerts ( Guid connectorId, DateTime utcBookmarkTime ) |
J# |
---|
public void AcknowledgeMonitoringAlerts ( Guid connectorId, DateTime utcBookmarkTime ) |
JScript |
---|
public function AcknowledgeMonitoringAlerts ( connectorId : Guid, utcBookmarkTime : DateTime ) |
Parameters
- connectorId
-
A globally unique identifier (GUID) for the monitoring connector.
- utcBookmarkTime
-
A timestamp bookmark.
Remarks
The monitoring connector must acknowledge that alerts have been received. Failure to acknowledge an alert will result in subsequent calls to GetMonitoringAlerts returning alerts that have already been returned.
After acknowledging alerts, you get alerts that are updated after the bookmark time that you acknowledged with.
Use server time rather than the current client time for the bookmark time. Choose the maximum time of the alerts you are acknowledging. Use the maximum value of the LastModified property to ensure no data loss.
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.