Freigeben über


Operator.LastEmailDate-Eigenschaft

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

Eigenschaftswert

Typ: System.DateTime
A DateTime System object value that specifies the date and time when the operator last received an alert notification by e-mail.

Hinweise

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

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

Operator Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_add_operator (Transact-SQL)