GetManagedConnection 方法
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
命名空間: 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
- connStr
型別:System. . :: . .String
- transaction
型別:System. . :: . .Object
傳回值
實作
IDTSManagedHelper100. . :: . .GetManagedConnection(String, String, Object)