共用方式為


GetExtendedInterface 方法 (IDTSComponentEvents)

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

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

語法

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

傳回值

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

備註

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