SMTPConn Constructor (String, Boolean, Boolean)
Namespace: Microsoft.SqlServer.Dts.ManagedConnections
Assembly: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
Syntax
'Declaration
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
)
Parameters
- 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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
SMTPConn Class
SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace