Partager via


Propriété SMTPConn.SmtpServer

Gets or sets the name used to connect to the SMTP server.

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

Syntaxe

'Déclaration
Public Property SmtpServer As String 
    Get 
    Set
'Utilisation
Dim instance As SMTPConn 
Dim value As String 

value = instance.SmtpServer

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

Valeur de propriété

Type : System.String
A String that contains the name used to connect to the SMTP server.

Voir aussi

Référence

SMTPConn Classe

Espace de noms Microsoft.SqlServer.Dts.ManagedConnections