SMTPConn Members
Contains the methods and properties used by SMTP connections.
The following tables list the members exposed by the SMTPConn type.
Public Constructors
名称 | Description | |
---|---|---|
SMTPConn | Overloaded. Initializes a new instance of the SMTPConn class. |
顶部
Public Properties
名称 | Description | |
---|---|---|
ConnectionDescription | Returns the localized description of the connection. | |
ConnectionDisplayName | Returns the localized display name of the connection. | |
ConnectionString | Overridden. Gets or sets the connection string for the SMTP connection. | |
EnableSsl | Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages. | |
ProtectionLevel | Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information. (inherited from ConnectionManagerBase) | |
SmtpServer | Gets or sets the name used to connect to the SMTP server. | |
SupportsDTCTransactions | Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. (inherited from ConnectionManagerBase) | |
UseWindowsAuthentication | Gets or sets a Boolean indicating whether to access the SMTP server using Windows Authentication. | |
Version | Returns the version of this connection manager. (inherited from ConnectionManagerBase) |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
AcquireConnection | Overridden. Establishes the SMTP connection and returns a connection object. | |
CanUpdate | (inherited from ConnectionManagerBase ) | |
Equals | Overloaded. (inherited from DtsObject ) | |
GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) | |
GetType | (inherited from Object ) | |
LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method. | |
op_Equality | (inherited from DtsObject ) | |
op_Inequality | (inherited from DtsObject ) | |
ReferenceEquals | (inherited from Object ) | |
ReleaseConnection | (inherited from ConnectionManagerBase ) | |
SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. | |
SetQualifier | (inherited from ConnectionManagerBase ) | |
ToString | (inherited from Object ) | |
Update | (inherited from ConnectionManagerBase ) | |
Validate | (inherited from ConnectionManagerBase ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
顶部
请参阅
参考
SMTPConn Class
Microsoft.SqlServer.Dts.ManagedConnections Namespace