Compartir a través de


SMTPConn Clase

Contains the methods and properties used by SMTP connections.

Espacio de nombres:  Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado:  Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)

Sintaxis

'Declaración
<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
'Uso
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

Jerarquía de herencia

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

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.