DtsConvert.ToEvents Method
Note: This API is now obsolete.
*** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
events As IDTSEvents100 _
) As IDTSEvents
'Usage
Dim events As IDTSEvents100
Dim returnValue As IDTSEvents
returnValue = DtsConvert.ToEvents(events)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static IDTSEvents ToEvents(
IDTSEvents100 events
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static IDTSEvents^ ToEvents(
IDTSEvents100^ events
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToEvents :
events:IDTSEvents100 -> IDTSEvents
public static function ToEvents(
events : IDTSEvents100
) : IDTSEvents
Parameters
- events
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
The native IDTSEvents100 object.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
A managed IDTSEvents object.