Alert.LastResponseDate 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property LastResponseDate As DateTime 
    Get 
    Set
用法
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)

属性值

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

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

Alert 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)

sp_add_alert (Transact-SQL)