GetManagedConnection 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

For more information, see ManagedHelper.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Function GetManagedConnection ( _
    bstrAssemblyQualifiedName As String, _
    bstrConnectionString As String, _
    pTransaction As Object _
) As Object
用法
Dim instance As IDTSManagedHelper100
Dim bstrAssemblyQualifiedName As String
Dim bstrConnectionString As String
Dim pTransaction As Object
Dim returnValue As Object

returnValue = instance.GetManagedConnection(bstrAssemblyQualifiedName, _
    bstrConnectionString, pTransaction)
Object GetManagedConnection(
    string bstrAssemblyQualifiedName,
    string bstrConnectionString,
    Object pTransaction
)
Object^ GetManagedConnection(
    [InAttribute] String^ bstrAssemblyQualifiedName, 
    [InAttribute] String^ bstrConnectionString, 
    [InAttribute] Object^ pTransaction
)
abstract GetManagedConnection : 
        bstrAssemblyQualifiedName:string * 
        bstrConnectionString:string * 
        pTransaction:Object -> Object 
function GetManagedConnection(
    bstrAssemblyQualifiedName : String, 
    bstrConnectionString : String, 
    pTransaction : Object
) : Object

参数

返回值

类型:System. . :: . .Object