Compartir a través de


Clase ConnectionManagerBase

Represents the abstract base class for connection managers.

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

Sintaxis

'Declaración
Public MustInherit Class ConnectionManagerBase _
    Inherits DtsObject
'Uso
Dim instance As ConnectionManagerBase
public abstract class ConnectionManagerBase : DtsObject
public ref class ConnectionManagerBase abstract : public DtsObject
[<AbstractClassAttribute>]
type ConnectionManagerBase =  
    class
        inherit DtsObject
    end
public abstract class ConnectionManagerBase extends DtsObject

El tipo ConnectionManagerBase expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido ConnectionManagerBase Initializes a new instance of the ConnectionManagerBase class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública ConnectionString Gets or sets the connection string for the connection.
Propiedad pública ProtectionLevel Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.
Propiedad pública SupportsDTCTransactions Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Propiedad pública Version Returns the version of this connection manager.

Arriba

Métodos

  Nombre Descripción
Método público AcquireConnection Creates an instance of the connection type.
Método público CanUpdate Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ReleaseConnection Frees the connection established during AcquireConnection. Called at design time and run time.
Método público SetQualifier Changes a qualifier on the connection manager after the connection manager has been created, but before it is run.
Método público ToString (Se hereda de Object.)
Método público Update Updates the XML persisted by a previous version of the connection manager.
Método público Validate Validates the connection and returns an enumeration that indicates success or failure.

Arriba

Comentarios

You create a managed connection manager by deriving a managed class from the ConnectionManagerBase, and then marking it with DtsConnectionAttribute attribute.

When creating a managed connection manager, you must ensure that the threading model is Both for the connection manager to work properly with the Integration Services runtime.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.