Partager via


Méthode DtsConvert.GetExtendedInterface (ConnectionManager)

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Shared Function GetExtendedInterface ( _
    connMgr As ConnectionManager _
) As IDTSConnectionManager100
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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

Voir aussi

Référence

DtsConvert Classe

Surcharge GetExtendedInterface

Espace de noms Microsoft.SqlServer.Dts.Runtime