IDTSManagedHelper100.GetManagedConnection 方法

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

Returns a managed connection.

命名空间:  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

参数

  • bstrAssemblyQualifiedName
    类型:System.String
    The name of the qualified assembly.
  • bstrConnectionString
    类型:System.String
    The connection string.
  • pTransaction
    类型:System.Object
    The connection transaction.

返回值

类型:System.Object
A managed connection.

注释

For more information, see ManagedHelper.

请参阅

参考

IDTSManagedHelper100 接口

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