Classe ConnectionManagerBase

Represents the abstract base class for connection managers.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public MustInherit Class ConnectionManagerBase _
    Inherits DtsObject
'Utilisation
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

Le type ConnectionManagerBase expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée ConnectionManagerBase Initializes a new instance of the ConnectionManagerBase class.

Haut de la page

Propriétés

  Nom Description
Propriété publique ConnectionString Gets or sets the connection string for the connection.
Propriété publique ProtectionLevel Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.
Propriété publique SupportsDTCTransactions Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Propriété publique Version Returns the version of this connection manager.

Haut de la page

Méthodes

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

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.