Dela via


DtsConvert.GetExtendedInterface Method (IDTSInfoEvents)

Gets the native IDTSInfoEvents100 object that corresponds to the specified managed IDTSInfoEvents object.

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

Syntax

'Declaration
Public Shared Function GetExtendedInterface ( _
    events As IDTSInfoEvents _
) As IDTSInfoEvents100
'Usage
Dim events As IDTSInfoEvents
Dim returnValue As IDTSInfoEvents100

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

Parameters

Return Value

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

Remarks

Use the DtsConvert.GetExtendedInterface(IDTSInfoEvents) method instead of the obsolete ToInfoEvents90 method.