DtsConvert.GetExtendedInterface 方法 (IDTSEvents)

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

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

語法

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

參數

傳回值

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

備註

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

請參閱

參考

DtsConvert 類別

GetExtendedInterface 多載

Microsoft.SqlServer.Dts.Runtime 命名空間