DtsConvert.GetWrapper Method (IDTSConnectionManager100)
Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Shared Function GetWrapper ( _
connMgr As IDTSConnectionManager100 _
) As ConnectionManager
'Usage
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
Parameters
- connMgr
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
A native IDTSConnectionManager100 object.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object
Remarks
Use the DtsConvert.GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.