다음을 통해 공유


GetWrapper 메서드 (IDTSEvents100)

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
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.