IDTSManagedHelper100.GetManagedConnection Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Returns a managed connection.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function GetManagedConnection ( _
bstrAssemblyQualifiedName As String, _
bstrConnectionString As String, _
pTransaction As Object _
) As Object
'Usage
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
Parameters
- bstrAssemblyQualifiedName
Type: System.String
The name of the qualified assembly.
- bstrConnectionString
Type: System.String
The connection string.
- pTransaction
Type: System.Object
The connection transaction.
Return Value
Type: System.Object
A managed connection.
Remarks
For more information, see ManagedHelper.