Condividi tramite


Proprietà SmtpServer

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
    Get
    Set
'Utilizzo
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)

Valore proprietà

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