Share via


SMTPConn Members

Contains the methods and properties used by SMTP connections.

The following tables list the members exposed by the SMTPConn type.

Public Constructors

  Name Description
SMTPConn Overloaded. Initializes a new instance of the SMTPConn class.

Top

Public Properties

  Name Description
ms211055.pubproperty(en-US,SQL.90).gifms211055.static(en-US,SQL.90).gif ConnectionDescription Returns the localized description of the connection.
ms211055.pubproperty(en-US,SQL.90).gifms211055.static(en-US,SQL.90).gif ConnectionDisplayName Returns the localized display name of the connection.
ms211055.pubproperty(en-US,SQL.90).gif ConnectionString Overridden. Gets or sets the connection string for the SMTP connection.
ms211055.pubproperty(en-US,SQL.90).gif EnableSsl Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.
ms211055.pubproperty(en-US,SQL.90).gif ProtectionLevel  Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information. (inherited from ConnectionManagerBase)
ms211055.pubproperty(en-US,SQL.90).gif SmtpServer Gets or sets the name used to connect to the SMTP server.
ms211055.pubproperty(en-US,SQL.90).gif SupportsDTCTransactions  Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. (inherited from ConnectionManagerBase)
ms211055.pubproperty(en-US,SQL.90).gif UseWindowsAuthentication Gets or sets a Boolean indicating whether to access the SMTP server using Windows Authentication.
ms211055.pubproperty(en-US,SQL.90).gif Version  Returns the version of this connection manager. (inherited from ConnectionManagerBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms211055.pubmethod(en-US,SQL.90).gif AcquireConnection Overridden. Establishes the SMTP connection and returns a connection object.
ms211055.pubmethod(en-US,SQL.90).gif CanUpdate  (inherited from ConnectionManagerBase )
ms211055.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms211055.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms211055.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms211055.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms211055.pubmethod(en-US,SQL.90).gifms211055.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms211055.pubmethod(en-US,SQL.90).gifms211055.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms211055.pubmethod(en-US,SQL.90).gifms211055.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms211055.pubmethod(en-US,SQL.90).gif ReleaseConnection  (inherited from ConnectionManagerBase )
ms211055.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms211055.pubmethod(en-US,SQL.90).gif SetQualifier  (inherited from ConnectionManagerBase )
ms211055.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms211055.pubmethod(en-US,SQL.90).gif Update  (inherited from ConnectionManagerBase )
ms211055.pubmethod(en-US,SQL.90).gif Validate  (inherited from ConnectionManagerBase )

Top

Protected Methods

  Name Description
ms211055.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms211055.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

SMTPConn Class
Microsoft.SqlServer.Dts.ManagedConnections Namespace