LastOccurrenceDate 속성
Gets or sets the date on which the alert was last raised.
네임스페이스: Microsoft.SqlServer.Management.Smo.Agent
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property LastOccurrenceDate As DateTime
Get
Set
‘사용 방법
Dim instance As Alert
Dim value As DateTime
value = instance.LastOccurrenceDate
instance.LastOccurrenceDate = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastOccurrenceDate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastOccurrenceDate {
DateTime get ();
void set (DateTime value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastOccurrenceDate : DateTime with get, set
function get LastOccurrenceDate () : DateTime
function set LastOccurrenceDate (value : DateTime)
속성 값
유형: 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.