IDTSConnectionManager100.AcquireConnection 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Creates an instance of the connection type.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Function AcquireConnection ( _
pTransaction As Object _
) As Object
用法
Dim instance As IDTSConnectionManager100
Dim pTransaction As Object
Dim returnValue As Object
returnValue = instance.AcquireConnection(pTransaction)
Object AcquireConnection(
Object pTransaction
)
Object^ AcquireConnection(
[InAttribute] Object^ pTransaction
)
abstract AcquireConnection :
pTransaction:Object -> Object
function AcquireConnection(
pTransaction : Object
) : Object
参数
- pTransaction
类型:System.Object
The handle to a transaction type.
返回值
类型:System.Object
An object that contains the transaction connection.