共用方式為


AcquireConnections 方法

Establishes a connection to a connection manager.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub AcquireConnections ( _
    pTransaction As Object _
)
'用途
Dim instance As IDTSDesigntimeComponent100
Dim pTransaction As Object

instance.AcquireConnections(pTransaction)
void AcquireConnections(
    Object pTransaction
)
void AcquireConnections(
    [InAttribute] Object^ pTransaction
)
abstract AcquireConnections : 
        pTransaction:Object -> unit 
function AcquireConnections(
    pTransaction : Object
)

參數

備註

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.