次の方法で共有


SMTPConn コンストラクター (String)

SMTP サーバー名を初期化して、SMTPConn クラスの新しいインスタンスを初期化します。

名前空間:  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
)

パラメーター

  • strSmtpServer
    型: System.String
    SMTP サーバー名を表す String です。

関連項目

参照

SMTPConn クラス

SMTPConn オーバーロード

Microsoft.SqlServer.Dts.ManagedConnections 名前空間