SMTPConn 類別
Contains the methods and properties used by SMTP connections.
命名空間: Microsoft.SqlServer.Dts.ManagedConnections
組件: Microsoft.SqlServer.ManagedConnections (在 Microsoft.SqlServer.ManagedConnections.dll 中)
語法
'宣告
<DtsConnectionAttribute(ConnectionType := "SMTP", LocalizationType := GetType(SMTPConn), _
ConnectionContact := "Microsoft Corporation", UITypeName := "Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")> _
Public Class SMTPConn _
Inherits ConnectionManagerBase _
Implements IDTSComponentPersist
'用途
Dim instance As SMTPConn
[DtsConnectionAttribute(ConnectionType = "SMTP", LocalizationType = typeof(SMTPConn),
ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, 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=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public ref class SMTPConn : public ConnectionManagerBase,
IDTSComponentPersist
[<DtsConnectionAttribute(ConnectionType = "SMTP", LocalizationType = typeof(SMTPConn),
ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.SmtpConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type SMTPConn =
class
inherit ConnectionManagerBase
interface IDTSComponentPersist
end
public class SMTPConn extends ConnectionManagerBase implements IDTSComponentPersist
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManagerBase
Microsoft.SqlServer.Dts.ManagedConnections..::..SMTPConn
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。