共用方式為


SMTPConn Class

Contains the methods and properties used by SMTP connections.

命名空間: Microsoft.SqlServer.Dts.ManagedConnections
組件: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

語法

'宣告
<DtsConnectionAttribute(ConnectionType:="SMTP", LocalizationType:=GetType(SMTPConn), ConnectionContact:="Microsoft Corporation", UITypeName:="Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=9.00.242.00, Culture=neutral, PublicKeyToken=89845dcd8080cc91")> _
Public Class SMTPConn
    Inherits ConnectionManagerBase
    Implements IDTSComponentPersist
[DtsConnectionAttribute(ConnectionType="SMTP", LocalizationType=typeof(SMTPConn), ConnectionContact="Microsoft Corporation", UITypeName="Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=9.00.242.00, Culture=neutral, PublicKeyToken=89845dcd8080cc91")] 
public class SMTPConn : ConnectionManagerBase, IDTSComponentPersist
[DtsConnectionAttribute(ConnectionType=L"SMTP", LocalizationType=typeof(SMTPConn), ConnectionContact=L"Microsoft Corporation", UITypeName=L"Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=9.00.242.00, Culture=neutral, PublicKeyToken=89845dcd8080cc91")] 
public ref class SMTPConn : public ConnectionManagerBase, IDTSComponentPersist
/** @attribute DtsConnectionAttribute(ConnectionType="SMTP", LocalizationType=Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn, ConnectionContact="Microsoft Corporation", UITypeName="Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=9.00.242.00, Culture=neutral, PublicKeyToken=89845dcd8080cc91") */ 
public class SMTPConn extends ConnectionManagerBase implements IDTSComponentPersist
DtsConnectionAttribute(ConnectionType="SMTP", LocalizationType=Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn, ConnectionContact="Microsoft Corporation", UITypeName="Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=9.00.242.00, Culture=neutral, PublicKeyToken=89845dcd8080cc91") 
public class SMTPConn extends ConnectionManagerBase implements IDTSComponentPersist

Inheritance Hierarchy

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

執行緒安全性

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

SMTPConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace