GetWrapper 方法 (IDTSConnections100)
Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Shared Function GetWrapper ( _
connections As IDTSConnections100 _
) As Connections
'用途
Dim connections As IDTSConnections100
Dim returnValue As Connections
returnValue = DtsConvert.GetWrapper(connections)
public static Connections GetWrapper(
IDTSConnections100 connections
)
public:
static Connections^ GetWrapper(
IDTSConnections100^ connections
)
static member GetWrapper :
connections:IDTSConnections100 -> Connections
public static function GetWrapper(
connections : IDTSConnections100
) : Connections
參數
- connections
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSConnections100
A native IDTSConnections100 object.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
The managed Connections object that corresponds to the specified native IDTSConnections100 object.
備註
Use the DtsConvert..::..GetWrapper(IDTSConnections100) method instead of the obsolete ToConnections method.