共用方式為


AcquireConnection 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

For more information, see ConnectionManager.

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

語法

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

returnValue = instance.AcquireConnection(pTransaction)
public virtual Object AcquireConnection(
    Object pTransaction
)
public:
virtual Object^ AcquireConnection(
    [InAttribute] Object^ pTransaction
)
abstract AcquireConnection : 
        pTransaction:Object -> Object 
override AcquireConnection : 
        pTransaction:Object -> Object 
public function AcquireConnection(
    pTransaction : Object
) : Object

參數

傳回值

型別:System. . :: . .Object

實作

IDTSConnectionManager100. . :: . .AcquireConnection(Object)