Compartilhar via


Método DtsConvert.ToConnectionManager

Observação: essa API está obsoleta.

*** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object.

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

Sintaxe

'Declaração
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToConnectionManager ( _
    connMgr As IDTSConnectionManager100 _
) As ConnectionManager
'Uso
Dim connMgr As IDTSConnectionManager100 
Dim returnValue As ConnectionManager 

returnValue = DtsConvert.ToConnectionManager(connMgr)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static ConnectionManager ToConnectionManager(
    IDTSConnectionManager100 connMgr
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static ConnectionManager^ ToConnectionManager(
    IDTSConnectionManager100^ connMgr
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToConnectionManager : 
        connMgr:IDTSConnectionManager100 -> ConnectionManager
public static function ToConnectionManager(
    connMgr : IDTSConnectionManager100
) : ConnectionManager

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The managed ConnectionManager object.

Consulte também

Referência

DtsConvert Classe

Namespace Microsoft.SqlServer.Dts.Runtime