共用方式為


ToComponentEvents90 方法

注意:此 API 已經過時。

*** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.

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

語法

'宣告
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToComponentEvents90 ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
'用途
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100

returnValue = DtsConvert.ToComponentEvents90(events)
[ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public static IDTSComponentEvents100 ToComponentEvents90(
    IDTSComponentEvents events
)
[ObsoleteAttribute(L"The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public:
static IDTSComponentEvents100^ ToComponentEvents90(
    IDTSComponentEvents^ events
)
[<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")>]
static member ToComponentEvents90 : 
        events:IDTSComponentEvents -> IDTSComponentEvents100 
public static function ToComponentEvents90(
    events : IDTSComponentEvents
) : IDTSComponentEvents100