Dela via


DtsConvert.GetExtendedInterface Method (IDTSComponentEvents)

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

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

Syntax

'Declaration
Public Shared Function GetExtendedInterface ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Usage
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

Return Value

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

Remarks

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