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