Share via


Updating Alerts in MOM

The connector can update any of the alerts that are returned by the FrameworkBase.GetData method by using the UpdateAlerts method. The connector updates the history of the alert to include the changes it made using the AlertUpdate.AlertHistory field, which stores an array of AlertHistoryEntry objects. Each AlertHistoryEntry object represents a snapshot of the alert before the change was applied.

Updates can fail for several reasons. Connectors should be capable of handling these failures. For example, alerts can be groomed from the MOM database, making an update to any of the alert's field values impossible.

See Also

Getting Alert Data from the MCF