Compartir a través de


CManagedComponentWrapperClass.AcquireConnections Método

Establishes a connection to a connection manager.

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Public Overridable Sub AcquireConnections ( _
    pTransaction As Object _
)
'Uso
Dim instance As CManagedComponentWrapperClass 
Dim pTransaction As Object

instance.AcquireConnections(pTransaction)
public virtual void AcquireConnections(
    Object pTransaction
)
public:
virtual void AcquireConnections(
    [InAttribute] Object^ pTransaction
)
abstract AcquireConnections : 
        pTransaction:Object -> unit  
override AcquireConnections : 
        pTransaction:Object -> unit
public function AcquireConnections(
    pTransaction : Object
)

Parámetros

  • pTransaction
    Tipo: System.Object
    The transaction the connection is participating in.

Implementa

IDTSDesigntimeComponent100.AcquireConnections(Object)

Comentarios

Data flow components establish connections to external data sources by using the AcquireConnections method. This method should be called before calling the Validate or ReinitializeMetaData methods to enable the component to verify the metadata contained in its column collections and to correct any errors that are found.

Vea también

Referencia

CManagedComponentWrapperClass Clase

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper