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.