Класс ConnectionManagerBase

Represents the abstract base class for connection managers.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public MustInherit Class ConnectionManagerBase _
    Inherits DtsObject
'Применение
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

Тип ConnectionManagerBase обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод ConnectionManagerBase Initializes a new instance of the ConnectionManagerBase class.

В начало

Свойства

  Имя Описание
Открытое свойство ConnectionString Gets or sets the connection string for the connection.
Открытое свойство ProtectionLevel Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information.
Открытое свойство SupportsDTCTransactions Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.
Открытое свойство Version Returns the version of this connection manager.

В начало

Методы

  Имя Описание
Открытый метод AcquireConnection Creates an instance of the connection type.
Открытый метод CanUpdate Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.
Открытый метод Equals Determines whether two object instances are equal. (Производный от DtsObject.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Returns the hash code for this instance. (Производный от DtsObject.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ReleaseConnection Frees the connection established during AcquireConnection. Called at design time and run time.
Открытый метод SetQualifier Changes a qualifier on the connection manager after the connection manager has been created, but before it is run.
Открытый метод ToString (Производный от Object.)
Открытый метод Update Updates the XML persisted by a previous version of the connection manager.
Открытый метод Validate Validates the connection and returns an enumeration that indicates success or failure.

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.