Condividi tramite


Metodo IDTSManagedHelper100.GetManagedConnection

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

Returns a managed connection.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Function GetManagedConnection ( _
    bstrAssemblyQualifiedName As String, _
    bstrConnectionString As String, _
    pTransaction As Object _
) As Object
'Utilizzo
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

Parametri

  • bstrAssemblyQualifiedName
    Tipo: System.String
    The name of the qualified assembly.
  • bstrConnectionString
    Tipo: System.String
    The connection string.

Valore restituito

Tipo: System.Object
A managed connection.

Osservazioni

For more information, see ManagedHelper.

Vedere anche

Riferimento

IDTSManagedHelper100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper