The ResetOccurrenceCount method reinitializes history data for a SQLServerAgent alert.
object.ResetOccurrenceCount( )
object
Expression that evaluates to an object in the Applies To list
HRESULT ResetOccurrenceCount();
The ResetOccurrenceCount method:
Alert history values are visible in SQL-DMO through the CountResetDate, LastOccurrenceDate, and OccurrenceCount properties of the Alert object.