SMTPConn Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SMTPConn class.
Overloads
SMTPConn() |
Initializes a new instance of the SMTPConn class. |
SMTPConn(String) |
Initializes a new instance of the SMTPConn class, initializing the SMPT server name. |
SMTPConn(String, Boolean, Boolean) |
Initializes a new instance of the SMTPConn class, initializing the SMPT server name, windows authentication, and setting for Secure Sockets Layer. |
SMTPConn()
Initializes a new instance of the SMTPConn class.
public:
SMTPConn();
public SMTPConn ();
Public Sub New ()
Applies to
SMTPConn(String)
Initializes a new instance of the SMTPConn class, initializing the SMPT server name.
public:
SMTPConn(System::String ^ strSmtpServer);
public SMTPConn (string strSmtpServer);
new Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn : string -> Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn
Public Sub New (strSmtpServer As String)
Parameters
- strSmtpServer
- String
A String that contains the SMTP server name.
Applies to
SMTPConn(String, Boolean, Boolean)
Initializes a new instance of the SMTPConn class, initializing the SMPT server name, windows authentication, and setting for Secure Sockets Layer.
public:
SMTPConn(System::String ^ strSmtpServer, bool useWindowsAuthentication, bool EnableSsl);
public SMTPConn (string strSmtpServer, bool useWindowsAuthentication, bool EnableSsl);
new Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn : string * bool * bool -> Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn
Public Sub New (strSmtpServer As String, useWindowsAuthentication As Boolean, EnableSsl As Boolean)
Parameters
- strSmtpServer
- String
A String that contains the SMTP server name.
- useWindowsAuthentication
- Boolean
A Boolean indicating that Windows Authentication is used to authenticate access to the server.
- EnableSsl
- Boolean
A Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.