CManagedComponentWrapperClass.AcquireConnections(Object) Method

Definition

Establishes a connection to a connection manager.

public:
 virtual void AcquireConnections(System::Object ^ pTransaction) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::AcquireConnections;
[System.Runtime.InteropServices.DispId(30)]
public virtual void AcquireConnections (object pTransaction);
[<System.Runtime.InteropServices.DispId(30)>]
abstract member AcquireConnections : obj -> unit
override this.AcquireConnections : obj -> unit
Public Overridable Sub AcquireConnections (pTransaction As Object)

Parameters

pTransaction
Object

The transaction the connection is participating in.

Implements

Attributes

Remarks

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.

Applies to