Condividi tramite


SMTPConn.SmtpServer Property

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

Spazio dei nomi: Microsoft.SqlServer.Dts.ManagedConnections
Assembly : Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

Sintassi

'Dichiarazione
Public Property SmtpServer As String
public string SmtpServer { get; set; }
public:
property String^ SmtpServer {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SmtpServer ()

/** @property */
public void set_SmtpServer (String value)
public function get SmtpServer () : String

public function set SmtpServer (value : String)

Valore proprietà

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace