다음을 통해 공유


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 네임스페이스