Udostępnij przez


DtsConvert.GetWrapper Method (IDTSEvents100)

Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Deklaracja
Public Shared Function GetWrapper ( _
    events As IDTSEvents100 _
) As IDTSEvents
public static IDTSEvents GetWrapper (
    IDTSEvents100 events
)
public:
static IDTSEvents^ GetWrapper (
    IDTSEvents100^ events
)
public static IDTSEvents GetWrapper (
    IDTSEvents100 events
)
public static function GetWrapper (
    events : IDTSEvents100
) : IDTSEvents

Parameters

Return Value

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

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.