共用方式為


CManagedComponentWrapperClass.AcquireConnections Method

Establishes a connection to a connection manager.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<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# 支援明確介面實作的使用,但不支援新明確介面實作的宣告。
JScript 支援明確介面實作的使用,但不支援新明確介面實作的宣告。

參數

  • pTransaction
    The transaction the connection is participating in.

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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