共用方式為


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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。