Freigeben über


IDTSSendMailTask.SmtpConnection-Eigenschaft

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Gets or sets the name or IP address of the SMTP server.

Namespace:  Microsoft.SqlServer.Dts.Tasks.SendMailTask
Assembly:  Microsoft.SqlServer.SendMailTask (in Microsoft.SqlServer.SendMailTask.dll)

Syntax

'Declaration
Property SmtpConnection As String 
    Get 
    Set
'Usage
Dim instance As IDTSSendMailTask 
Dim value As String 

value = instance.SmtpConnection

instance.SmtpConnection = value
string SmtpConnection { get; set; }
property String^ SmtpConnection {
    String^ get ();
    void set (String^ value);
}
abstract SmtpConnection : string with get, set
function get SmtpConnection () : String 
function set SmtpConnection (value : String)

Eigenschaftswert

Typ: System.String
The name or IP address of the SMTP server.

Siehe auch

Verweis

IDTSSendMailTask Schnittstelle

Microsoft.SqlServer.Dts.Tasks.SendMailTask-Namespace