Alert.LastOccurrenceDate Property

Gets or sets the date on which the alert was last raised.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastOccurrenceDate { get; set; }

Property Value

Type: System.DateTime
A DateTime system object value that specifies the date and time that the alert was last raised.

SQL Server Agent maintains historical data for alerts raised and handled by SQL Server Agent. The date of last occurrence is one piece of historical information maintained.

Community Additions

ADD
Show: