Compartilhar via


Método ConnectionManagerOleDbClass.AcquireConnection

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Creates an instance of the connection type.

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

Sintaxe

'Declaração
Public Overridable Function AcquireConnection ( _
    pTransaction As Object _
) As Object
'Uso
Dim instance As ConnectionManagerOleDbClass 
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

Parâmetros

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

Valor de retorno

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

Implementa

IDTSConnectionManager100.AcquireConnection(Object)

Comentários

For more information, see ConnectionManager.

Consulte também

Referência

ConnectionManagerOleDbClass Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper