Compartilhar via


Método DtsConvert.GetWrapper (IDTSConnectionManager100)

Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
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

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object

Comentários

Use the DtsConvert.GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.

Consulte também

Referência

DtsConvert Classe

Sobrecarregado GetWrapper

Namespace Microsoft.SqlServer.Dts.Runtime