共用方式為


GetExtendedInterface 方法 (IDTSInfoEvents)

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Shared Function GetExtendedInterface ( _
    events As IDTSInfoEvents _
) As IDTSInfoEvents100
'用途
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

傳回值

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

備註

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