Freigeben über


ConnectionManagerBase-Klasse

Represents the abstract base class for connection managers.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase
      Microsoft.SqlServer.Dts.ManagedConnections.MSMQConn
      Microsoft.SqlServer.Dts.ManagedConnections.SMOServerConn
      Microsoft.SqlServer.Dts.ManagedConnections.SMTPConn
      Microsoft.SqlServer.Dts.ManagedConnections.WMIConn

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

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

Der ConnectionManagerBase-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ConnectionManagerBase Initializes a new instance of the ConnectionManagerBase class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ConnectionString Gets or sets the connection string for the connection.
Öffentliche Eigenschaft ProtectionLevel Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.
Öffentliche Eigenschaft Scope Gets the DTS connection manager scope for this ConnectionManagerBase object.
Öffentliche Eigenschaft SupportsDTCTransactions Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Öffentliche Eigenschaft Version Returns the version of this connection manager.

Zum Anfang

Methoden

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

Zum Anfang

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace