ConnectionManager.AcquireConnection Method (Object)

 

Creates an instance of the connection type.

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

No code example is currently available or this language may not be supported.

Parameters

txn
Type: System.Object

The handle to a transaction type.

Return Value

Type: System.Object

An object that contains the transaction connection.

Pass null for the transaction parameter txn when the SupportsDTCTransactions property is false. If the SupportsDTCTransactions property is true, you can pass null in the transaction parameter to indicate that the container supports transactions, but is not going to participate.

The following code example shows how to add the OLE DB connection to the connection manager and acquire the connection.

No code example is currently available or this language may not be supported.
Return to top
Show: