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
)
參數
- strSmtpServer
型別:System.String
A String that contains the SMTP server name.