Partager via


ToComponentEvents90 méthode

Remarque : cette API est obsolète.

*** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.

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

Syntaxe

'Déclaration
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToComponentEvents90 ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Utilisation
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100

returnValue = DtsConvert.ToComponentEvents90(events)
[ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public static IDTSComponentEvents100 ToComponentEvents90(
    IDTSComponentEvents events
)
[ObsoleteAttribute(L"The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public:
static IDTSComponentEvents100^ ToComponentEvents90(
    IDTSComponentEvents^ events
)
[<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")>]
static member ToComponentEvents90 : 
        events:IDTSComponentEvents -> IDTSComponentEvents100 
public static function ToComponentEvents90(
    events : IDTSComponentEvents
) : IDTSComponentEvents100