Share via


Operator.LastEmailDate Property

Gets the date and time when the operator last received an alert notification by e-mail.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastEmailDate As DateTime
    Get
'Usage
Dim instance As [Operator]
Dim value As DateTime

value = instance.LastEmailDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastEmailDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastEmailDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastEmailDate : DateTime
function get LastEmailDate () : 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 e-mail.

Remarks

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