Freigeben über


CManagedComponentWrapperClass.AcquireConnections-Methode

Establishes a connection to a connection manager.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Public Overridable Sub AcquireConnections ( _
    pTransaction As Object _
)
'Usage
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
)

Parameter

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

Implementiert

IDTSDesigntimeComponent100.AcquireConnections(Object)

Hinweise

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.

Siehe auch

Verweis

CManagedComponentWrapperClass Klasse

Microsoft.SqlServer.Dts.Pipeline.Wrapper-Namespace