共用方式為


Operator.LastNetSendDate 屬性

Gets the date and time when the operator last received an alert notification by net-send.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastNetSendDate As DateTime 
    Get
'用途
Dim instance As [Operator]
Dim value As DateTime 

value = instance.LastNetSendDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastNetSendDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastNetSendDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastNetSendDate : DateTime
function get LastNetSendDate () : DateTime

屬性值

型別:System.DateTime
A DateTime System object value that specifies the date and time when the operator last received an alert notification by net-send.

備註

When no value is specified for the LastNetSendDate property a value of DateTime.MinValue is used.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

Operator 類別

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

其他資源

自動化管理工作 (SQL Server Agent)

sp_add_operator (Transact-SQL)