MonitoringConnector.AcknowledgeMonitoringAlerts Method
Definition
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.
The monitoring connector acknowledges that it has successfully received monitoring alerts from the Microsoft.EnterpriseManagement.ConnectorFramework.
Overloads
| AcknowledgeMonitoringAlerts(ICollection<ConnectorMonitoringAlert>) |
Acknowledges all of the alerts by acknowledging the maximum timestamp among them. |
| AcknowledgeMonitoringAlerts(DateTime) |
Sets the bookmark to the given time, thus acknowledging alerts. |
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.
AcknowledgeMonitoringAlerts(ICollection<ConnectorMonitoringAlert>)
Acknowledges all of the alerts by acknowledging the maximum timestamp among them.
public:
void AcknowledgeMonitoringAlerts(System::Collections::Generic::ICollection<Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ alerts);
public void AcknowledgeMonitoringAlerts (System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert> alerts);
member this.AcknowledgeMonitoringAlerts : System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert> -> unit
Public Sub AcknowledgeMonitoringAlerts (alerts As ICollection(Of ConnectorMonitoringAlert))
Parameters
- alerts
- ICollection<ConnectorMonitoringAlert>
The alerts to acknowledge.
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.
Applies to
AcknowledgeMonitoringAlerts(DateTime)
Sets the bookmark to the given time, thus acknowledging alerts.
public:
void AcknowledgeMonitoringAlerts(DateTime utcBookmarkTime);
public void AcknowledgeMonitoringAlerts (DateTime utcBookmarkTime);
member this.AcknowledgeMonitoringAlerts : DateTime -> unit
Public Sub AcknowledgeMonitoringAlerts (utcBookmarkTime As DateTime)
Parameters
- utcBookmarkTime
- DateTime
The bookmark to acknowledge up to.
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.