Partager via


GetExtendedInterface méthode (IDTSComponentEvents)

Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.

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

Syntaxe

'Déclaration
Public Shared Function GetExtendedInterface ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Utilisation
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100

returnValue = DtsConvert.GetExtendedInterface(events)
public static IDTSComponentEvents100 GetExtendedInterface(
    IDTSComponentEvents events
)
public:
static IDTSComponentEvents100^ GetExtendedInterface(
    IDTSComponentEvents^ events
)
static member GetExtendedInterface : 
        events:IDTSComponentEvents -> IDTSComponentEvents100 
public static function GetExtendedInterface(
    events : IDTSComponentEvents
) : IDTSComponentEvents100

Valeur de retour

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

Notes

Use the DtsConvert..::..GetExtendedInterface(IDTSComponentEvents) method instead of the obsolete ToComponentEvents90 method.