SMTPConn Constructor (String, Boolean, Boolean)
命名空間: Microsoft.SqlServer.Dts.ManagedConnections
組件: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
語法
'宣告
Public Sub New ( _
strSmtpServer As String, _
useWindowsAuthentication As Boolean, _
EnableSsl As Boolean _
)
public SMTPConn (
string strSmtpServer,
bool useWindowsAuthentication,
bool EnableSsl
)
public:
SMTPConn (
String^ strSmtpServer,
bool useWindowsAuthentication,
bool EnableSsl
)
public SMTPConn (
String strSmtpServer,
boolean useWindowsAuthentication,
boolean EnableSsl
)
public function SMTPConn (
strSmtpServer : String,
useWindowsAuthentication : boolean,
EnableSsl : boolean
)
參數
- strSmtpServer
A String that contains the SMTP server name.
- useWindowsAuthentication
A Boolean indicating that Windows Authentication is used to authenticate access to the server.
- EnableSsl
A Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace