Condividi tramite


Classe ConnectionManagerBase

Represents the abstract base class for connection managers.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public MustInherit Class ConnectionManagerBase _
    Inherits DtsObject
'Utilizzo
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

Nel tipo ConnectionManagerBase sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto ConnectionManagerBase Initializes a new instance of the ConnectionManagerBase class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionString Gets or sets the connection string for the connection.
Proprietà pubblica ProtectionLevel Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.
Proprietà pubblica SupportsDTCTransactions Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Proprietà pubblica Version Returns the version of this connection manager.

In alto

Metodi

  Nome Descrizione
Metodo pubblico AcquireConnection Creates an instance of the connection type.
Metodo pubblico CanUpdate Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.
Metodo pubblico Equals Determines whether two object instances are equal. Ereditato da DtsObject.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Returns the hash code for this instance. Ereditato da DtsObject.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ReleaseConnection Frees the connection established during AcquireConnection. Called at design time and run time.
Metodo pubblico SetQualifier Changes a qualifier on the connection manager after the connection manager has been created, but before it is run.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Update Updates the XML persisted by a previous version of the connection manager.
Metodo pubblico Validate Validates the connection and returns an enumeration that indicates success or failure.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.