Compartilhar via


Propriedade do RDL Alert.LastResponseDate

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

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property LastResponseDate As DateTime 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

Alert Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_add_alert (Transact-SQL)