Freigeben über


Alert.LastResponseDate-Eigenschaft

Gets or sets the date on which the alert last generated a response.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property LastResponseDate As DateTime 
    Get 
    Set
'Usage
Dim instance As Alert 
Dim value As DateTime 

value = instance.LastResponseDate

instance.LastResponseDate = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastResponseDate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastResponseDate {
    DateTime get ();
    void set (DateTime value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastResponseDate : DateTime with get, set
function get LastResponseDate () : DateTime 
function set LastResponseDate (value : DateTime)

Eigenschaftswert

Typ: System.DateTime
A DateTime system object value that specifies the date and time of the last response generated by the alert.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

Alert Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_add_alert (Transact-SQL)