共用方式為


ConnectionManagerBase Class

Definition

Represents the abstract base class for connection managers.

public ref class ConnectionManagerBase abstract : Microsoft::SqlServer::Dts::Runtime::DtsObject
public abstract class ConnectionManagerBase : Microsoft.SqlServer.Dts.Runtime.DtsObject
type ConnectionManagerBase = class
    inherit DtsObject
Public MustInherit Class ConnectionManagerBase
Inherits DtsObject
Inheritance
ConnectionManagerBase
Derived

Remarks

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.

Constructors

ConnectionManagerBase()

Initializes a new instance of the ConnectionManagerBase class.

Properties

AccessTokenProvider

Gets or sets the access token provider used when acquiring connection.

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.

Scope

Gets the DTS connection manager scope for this ConnectionManagerBase object.

SupportsDTCTransactions

Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions.

TargetServerVersion
Version

Returns the version of this connection manager.

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

CanUpdate(String)

Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.

Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
ReleaseConnection(Object)

Frees the connection established during AcquireConnection(Object). Called at design time and run time.

SetQualifier(String)

Changes a qualifier on the connection manager after the connection manager has been created, but before it is run.

Update(String)

Updates the XML persisted by a previous version of the connection manager.

Validate(IDTSInfoEvents)

Validates the connection and returns an enumeration that indicates success or failure.

Applies to