Share via


ConnectionManagerOdbcClass.AcquireConnection Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Creates an instance of the connection type.

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

Syntax

'Declaration
Public Overridable Function AcquireConnection ( _
    pTransaction As Object _
) As Object
'Usage
Dim instance As ConnectionManagerOdbcClass 
Dim pTransaction As Object 
Dim returnValue As Object 

returnValue = instance.AcquireConnection(pTransaction)
public virtual Object AcquireConnection(
    Object pTransaction
)
public:
virtual Object^ AcquireConnection(
    [InAttribute] Object^ pTransaction
)
abstract AcquireConnection : 
        pTransaction:Object -> Object  
override AcquireConnection : 
        pTransaction:Object -> Object
public function AcquireConnection(
    pTransaction : Object
) : Object

Parameters

  • pTransaction
    Type: System.Object
    The handle to a transaction type.

Return Value

Type: System.Object
An object that contains the transaction connection.

Implements

IDTSConnectionManager100.AcquireConnection(Object)

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerOdbcClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace