IDTSDesigntimeComponent100.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
)

参数

  • pTransaction
    类型:System.Object
    The transaction associated with the connection.

注释

The 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.

请参阅

参考

IDTSDesigntimeComponent100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间