命名空间: 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