Partager via


Méthode IDTSManagedHelper100.GetManagedConnection

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Returns a managed connection.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function GetManagedConnection ( _
    bstrAssemblyQualifiedName As String, _
    bstrConnectionString As String, _
    pTransaction As Object _
) As Object
'Utilisation
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

Paramètres

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

Valeur de retour

Type : System.Object
A managed connection.

Notes

For more information, see ManagedHelper.

Voir aussi

Référence

IDTSManagedHelper100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper