Dela via


DtsConvert.GetExtendedInterface Method (IDTSEvents)

Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.

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

Syntax

'Declaration
Public Shared Function GetExtendedInterface ( _
    events As IDTSEvents _
) As IDTSEvents100
'Usage
Dim events As IDTSEvents
Dim returnValue As IDTSEvents100

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

Parameters

Return Value

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

Remarks

Use the DtsConvert.GetExtendedInterface(IDTSEvents) method instead of the obsolete ToEvents90 method.