共用方式為


GetManagedConnection 方法

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

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