다음을 통해 공유


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
)

매개 변수