Partilhar via


CManagedComponentWrapperClass.AcquireConnections Method

Establishes a connection to a connection manager.

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

Syntax

'Declaration
<DispIdAttribute(30)> _
Public Overridable Sub AcquireConnections ( _
    <InAttribute> pTransaction As Object _
) Implements IDTSDesigntimeComponent90.AcquireConnections
[DispIdAttribute(30)] 
public virtual void IDTSDesigntimeComponent90.AcquireConnections (
    [InAttribute] Object pTransaction
)
[DispIdAttribute(30)] 
public:
virtual void AcquireConnections (
    [InAttribute] Object^ pTransaction
) = IDTSDesigntimeComponent90::AcquireConnections
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • pTransaction
    The transaction the connection is participating in.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace