Condividi tramite


Costruttore SMTPConn (String)

Initializes a new instance of the SMTPConn class, initializing the SMPT server name.

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

Sintassi

'Dichiarazione
Public Sub New ( _
    strSmtpServer As String _
)
'Utilizzo
Dim strSmtpServer As String 

Dim instance As New SMTPConn(strSmtpServer)
public SMTPConn(
    string strSmtpServer
)
public:
SMTPConn(
    String^ strSmtpServer
)
new : 
        strSmtpServer:string -> SMTPConn
public function SMTPConn(
    strSmtpServer : String
)

Parametri

  • strSmtpServer
    Tipo: System.String
    A String that contains the SMTP server name.

Vedere anche

Riferimento

SMTPConn Classe

Overload SMTPConn

Spazio dei nomi Microsoft.SqlServer.Dts.ManagedConnections