Конструктор SMTPConn (String)

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

Пространство имен:  Microsoft.SqlServer.Dts.ManagedConnections
Сборка:  Microsoft.SqlServer.ManagedConnections (в Microsoft.SqlServer.ManagedConnections.dll)

Синтаксис

'Декларация
Public Sub New ( _
    strSmtpServer As String _
)
'Применение
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
)

Параметры