Compartilhar via


Método DtsConvert.GetExtendedInterface (ConnectionManager)

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

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

Sintaxe

'Declaração
Public Shared Function GetExtendedInterface ( _
    connMgr As ConnectionManager _
) As IDTSConnectionManager100
'Uso
Dim connMgr As ConnectionManager 
Dim returnValue As IDTSConnectionManager100 

returnValue = DtsConvert.GetExtendedInterface(connMgr)
public static IDTSConnectionManager100 GetExtendedInterface(
    ConnectionManager connMgr
)
public:
static IDTSConnectionManager100^ GetExtendedInterface(
    ConnectionManager^ connMgr
)
static member GetExtendedInterface : 
        connMgr:ConnectionManager -> IDTSConnectionManager100
public static function GetExtendedInterface(
    connMgr : ConnectionManager
) : IDTSConnectionManager100

Parâmetros

Valor de retorno

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

Comentários

Use the DtsConvert.GetExtendedInterface(ConnectionManager) method instead of the obsolete ToConnectionManager90 method.

Consulte também

Referência

DtsConvert Classe

Sobrecarregado GetExtendedInterface

Namespace Microsoft.SqlServer.Dts.Runtime