CManagedComponentWrapperClass.AcquireConnections(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.