共用方式為


IDTSDesigntimeComponent90.AcquireConnections Method

Establishes a connection to a connection manager.

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

語法

'宣告
<DispIdAttribute(30)> _
Sub AcquireConnections ( _
    <InAttribute> pTransaction As Object _
)
[DispIdAttribute(30)] 
void AcquireConnections (
    [InAttribute] Object pTransaction
)
[DispIdAttribute(30)] 
void AcquireConnections (
    [InAttribute] Object^ pTransaction
)
/** @attribute DispIdAttribute(30) */ 
void AcquireConnections (
    /** @attribute InAttribute() */ Object pTransaction
)
DispIdAttribute(30) 
function AcquireConnections (
    pTransaction : Object
)

參數

  • pTransaction
    The transaction associated with the connection.

備註

AcquireConnections is called during both component design and execution. Components that connect to external data sources should establish their connections by using this method. Any connection established during this method should be cached in a local member variable, and released during the ReleaseConnections method.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace