SMTPConn Class

 

Contains the methods and properties used by SMTP connections.

Namespace:   Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase
      Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn

[DtsConnectionAttribute(ConnectionType = "SMTP", LocalizationType = typeof(SMTPConn), 
	ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class SMTPConn : ConnectionManagerBase, IDTSComponentPersist

NameDescription
System_CAPS_pubmethodSMTPConn()

Initializes a new instance of the SMTPConn class.

System_CAPS_pubmethodSMTPConn(String)

Initializes a new instance of the SMTPConn class, initializing the SMPT server name.

System_CAPS_pubmethodSMTPConn(String, Boolean, Boolean)

Initializes a new instance of the SMTPConn class, initializing the SMPT server name, windows authentication, and setting for Secure Sockets Layer.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticConnectionDescription

Returns the localized description of the connection.

System_CAPS_pubpropertySystem_CAPS_staticConnectionDisplayName

Returns the localized display name of the connection.

System_CAPS_pubpropertyConnectionString

Gets or sets the connection string for the SMTP connection.(Overrides ConnectionManagerBase.ConnectionString.)

System_CAPS_pubpropertyEnableSsl

Gets or sets a Boolean indicating whether to encrypt communication using Secure Sockets Layer (SSL) when sending e-mail messages.

System_CAPS_pubpropertyProtectionLevel

Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.(Inherited from ConnectionManagerBase.)

System_CAPS_pubpropertyScope

Gets the DTS connection manager scope for this ConnectionManagerBase object.(Inherited from ConnectionManagerBase.)

System_CAPS_pubpropertySmtpServer

Gets or sets the name used to connect to the SMTP server.

System_CAPS_pubpropertySupportsDTCTransactions

Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.(Inherited from ConnectionManagerBase.)

System_CAPS_pubpropertyTargetServerVersion

(Inherited from ConnectionManagerBase.)

System_CAPS_pubpropertyTimeout

Gets or sets the timeout request made by the connection.

System_CAPS_pubpropertyUseWindowsAuthentication

Gets or sets a Boolean indicating whether to access the SMTP server using Windows Authentication.

System_CAPS_pubpropertyVersion

Returns the version of this connection manager.(Inherited from ConnectionManagerBase.)

NameDescription
System_CAPS_pubmethodAcquireConnection(Object)

Establishes the SMTP connection and returns a connection object.(Overrides ConnectionManagerBase.AcquireConnection(Object).)

System_CAPS_pubmethodCanUpdate(String)

Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.(Inherited from ConnectionManagerBase.)

System_CAPS_pubmethodEquals(Object)

Determines whether two object instances are equal.(Inherited from DtsObject.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from DtsObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoadFromXML(XmlElement, IDTSInfoEvents)

This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReleaseConnection(Object)

Frees the connection established during AcquireConnection. Called at design time and run time.(Inherited from ConnectionManagerBase.)

System_CAPS_pubmethodSaveToXML(XmlDocument, IDTSInfoEvents)

This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.

System_CAPS_pubmethodSetQualifier(String)

Changes a qualifier on the connection manager after the connection manager has been created, but before it is run.(Inherited from ConnectionManagerBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate(String)

Updates the XML persisted by a previous version of the connection manager.(Inherited from ConnectionManagerBase.)

System_CAPS_pubmethodValidate(IDTSInfoEvents)

Validates the connection and returns an enumeration that indicates success or failure.(Inherited from ConnectionManagerBase.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: