SMTPConn 成員
Contains the methods and properties used by SMTP connections.
SMTPConn 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
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) |
頂端
方法
名稱 | 描述 | |
---|---|---|
![]() |
AcquireConnection | Establishes the SMTP connection and returns a connection object. (覆寫 ConnectionManagerBase. . :: . .AcquireConnection(Object)。) |
![]() |
CanUpdate | Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version. (繼承自 ConnectionManagerBase。) |
![]() |
Equals | Determines whether two object instances are equal. (繼承自 DtsObject。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | Returns the hash code for this instance. (繼承自 DtsObject。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method. |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ReleaseConnection | Frees the connection established during AcquireConnection. Called at design time and run time. (繼承自 ConnectionManagerBase。) |
![]() |
SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method. |
![]() |
SetQualifier | Changes a qualifier on the connection manager after the connection manager has been created, but before it is run. (繼承自 ConnectionManagerBase。) |
![]() |
ToString | (繼承自 Object。) |
![]() |
Update | Updates the XML persisted by a previous version of the connection manager. (繼承自 ConnectionManagerBase。) |
![]() |
Validate | Validates the connection and returns an enumeration that indicates success or failure. (繼承自 ConnectionManagerBase。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
![]() ![]() |
ConnectionDescription | Returns the localized description of the connection. |
![]() ![]() |
ConnectionDisplayName | Returns the localized display name of the connection. |
![]() |
ConnectionString | Gets or sets the connection string for the SMTP connection. (覆寫 ConnectionManagerBase. . :: . .ConnectionString。) |
![]() |
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. (繼承自 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. (繼承自 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. (繼承自 ConnectionManagerBase。) |
頂端