共用方式為


DtsConvert.ToEvents(IDTSEvents100) Method

Definition

Caution

The ToXXXX() methods have been replaced with the GetWrapper() method.

*** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.

public:
 static Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ ToEvents(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ events);
[System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Microsoft.SqlServer.Dts.Runtime.IDTSEvents ToEvents (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 events);
[<System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToEvents : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.IDTSEvents
Public Shared Function ToEvents (events As IDTSEvents100) As IDTSEvents

Parameters

events
IDTSEvents100

The native IDTSEvents100 object.

Returns

A managed IDTSEvents object.

Attributes

Applies to