次の方法で共有


DtsConvert.ToEvents メソッド

メモ: この API は、互換性のために残されています。

*** メンバーは互換性のために残されているため、 GetWrapper(IDTSEvents100) メソッドを代わりに使用してください。*** IDTSEvents100 ネイティブ オブジェクトを IDTSEvents マネージ オブジェクトに変換します。

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
    events As IDTSEvents100 _
) As IDTSEvents
'使用
Dim events As IDTSEvents100 
Dim returnValue As IDTSEvents 

returnValue = DtsConvert.ToEvents(events)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static IDTSEvents ToEvents(
    IDTSEvents100 events
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static IDTSEvents^ ToEvents(
    IDTSEvents100^ events
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToEvents : 
        events:IDTSEvents100 -> IDTSEvents
public static function ToEvents(
    events : IDTSEvents100
) : IDTSEvents

パラメーター

戻り値

型: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
IDTSEvents マネージ オブジェクトです。

関連項目

参照

DtsConvert クラス

Microsoft.SqlServer.Dts.Runtime 名前空間