Metodo GetExtendedInterface (ConnectionManager)

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Shared Function GetExtendedInterface ( _
    connMgr As ConnectionManager _
) As IDTSConnectionManager100
'Utilizzo
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

Valore restituito

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

Osservazioni

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