共用方式為


DtsConvert.GetWrapper 方法 (IDTSEvents100)

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

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

語法

'宣告
Public Shared Function GetWrapper ( _
    events As IDTSEvents100 _
) As IDTSEvents
'用途
Dim events As IDTSEvents100 
Dim returnValue As IDTSEvents 

returnValue = DtsConvert.GetWrapper(events)
public static IDTSEvents GetWrapper(
    IDTSEvents100 events
)
public:
static IDTSEvents^ GetWrapper(
    IDTSEvents100^ events
)
static member GetWrapper : 
        events:IDTSEvents100 -> IDTSEvents
public static function GetWrapper(
    events : IDTSEvents100
) : IDTSEvents

參數

傳回值

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

備註

Use the DtsConvert.GetWrapper(IDTSEvents100) method instead of the obsolete ToEvents method.

請參閱

參考

DtsConvert 類別

GetWrapper 多載

Microsoft.SqlServer.Dts.Runtime 命名空間