Partager via


Propriété IDTSSendMailTask.SmtpConnection

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.SendMailTask
Assembly :  Microsoft.SqlServer.SendMailTask (en Microsoft.SqlServer.SendMailTask.dll)

Syntaxe

'Déclaration
Property SmtpConnection As String 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

IDTSSendMailTask Interface

Espace de noms Microsoft.SqlServer.Dts.Tasks.SendMailTask