Метод GetWrapper (IDTSConnectionManager100)
Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Shared Function GetWrapper ( _
connMgr As IDTSConnectionManager100 _
) As ConnectionManager
'Применение
Dim connMgr As IDTSConnectionManager100
Dim returnValue As ConnectionManager
returnValue = DtsConvert.GetWrapper(connMgr)
public static ConnectionManager GetWrapper(
IDTSConnectionManager100 connMgr
)
public:
static ConnectionManager^ GetWrapper(
IDTSConnectionManager100^ connMgr
)
static member GetWrapper :
connMgr:IDTSConnectionManager100 -> ConnectionManager
public static function GetWrapper(
connMgr : IDTSConnectionManager100
) : ConnectionManager
Параметры
- connMgr
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSConnectionManager100
A native IDTSConnectionManager100 object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManager
The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object
Замечания
Use the DtsConvert..::..GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.
См. также