ManagedHelper.GetManagedConnection 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets the managed connection for the helper.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Function GetManagedConnection ( _
assemblyQualifiedName As String, _
connStr As String, _
transaction As Object _
) As Object
'用途
Dim instance As ManagedHelper
Dim assemblyQualifiedName As String
Dim connStr As String
Dim transaction As Object
Dim returnValue As Object
returnValue = instance.GetManagedConnection(assemblyQualifiedName, _
connStr, transaction)
public Object GetManagedConnection(
string assemblyQualifiedName,
string connStr,
Object transaction
)
public:
virtual Object^ GetManagedConnection(
String^ assemblyQualifiedName,
String^ connStr,
Object^ transaction
) sealed
abstract GetManagedConnection :
assemblyQualifiedName:string *
connStr:string *
transaction:Object -> Object
override GetManagedConnection :
assemblyQualifiedName:string *
connStr:string *
transaction:Object -> Object
public final function GetManagedConnection(
assemblyQualifiedName : String,
connStr : String,
transaction : Object
) : Object
參數
- assemblyQualifiedName
型別:System.String
The assembly qualified name.
- connStr
型別:System.String
The connection string.
- transaction
型別:System.Object
The transaction.
傳回值
型別:System.Object
The managed connection.
實作
IDTSManagedHelper100.GetManagedConnection(String, String, Object)