GetWrapper Método (IDTSConnectionManager100)
Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Shared Function GetWrapper ( _
connMgr As IDTSConnectionManager100 _
) As ConnectionManager
'Uso
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
Parámetros
- connMgr
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSConnectionManager100
A native IDTSConnectionManager100 object.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManager
The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object
Comentarios
Use the DtsConvert..::..GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.
Vea también