共用方式為


IDTSConnectionManager100 Interface

Definition

Provides properties and methods that are used for managing connection to a data source.

public interface class IDTSConnectionManager100
[System.Runtime.InteropServices.Guid("6D9EBD9B-8087-4C5B-83BF-F48E7B095E9D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSConnectionManager100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("8813EF03-2963-438F-9DEB-D44217A364FA")]
public interface IDTSConnectionManager100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("1894EA50-AC9C-4797-88B4-018638E6AD93")]
public interface IDTSConnectionManager100
[<System.Runtime.InteropServices.Guid("6D9EBD9B-8087-4C5B-83BF-F48E7B095E9D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSConnectionManager100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("8813EF03-2963-438F-9DEB-D44217A364FA")>]
type IDTSConnectionManager100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("1894EA50-AC9C-4797-88B4-018638E6AD93")>]
type IDTSConnectionManager100 = interface
Public Interface IDTSConnectionManager100
Derived
Attributes

Remarks

For more information, see ConnectionManager.

Properties

ConnectionString

Gets or sets the connection string used to establish a connection to a data source.

ProtectionLevel

Gets or sets the level of encryption performed on sensitive data that is contained in the package.

Scope

Gets the scope of the connection manager.

SupportsDTCTransactions

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

Methods

AcquireConnection(Object)

Creates an instance of the connection type.

ReleaseConnection(Object)

Frees the connection established during AcquireConnection(Object). Can be called at design time and runtime.

SetQualifier(String)

Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.

Validate(IDTSInfoEvents100)

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

Applies to