共用方式為


AcquireConnection 方法

Creates an instance of the connection type.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Overridable Function AcquireConnection ( _
    txn As Object _
) As Object
'用途
Dim instance As ConnectionManagerBase
Dim txn As Object
Dim returnValue As Object

returnValue = instance.AcquireConnection(txn)
public virtual Object AcquireConnection(
    Object txn
)
public:
virtual Object^ AcquireConnection(
    Object^ txn
)
abstract AcquireConnection : 
        txn:Object -> Object 
override AcquireConnection : 
        txn:Object -> Object 
public function AcquireConnection(
    txn : Object
) : Object

參數

傳回值

型別:System. . :: . .Object