Share via


Operator.LastNetSendDate Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastNetSendDate As DateTime 
    Get
'Usage
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

Property Value

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

Remarks

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

Operator Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_operator (Transact-SQL)