Método DtsConvert.ToEvents
Observação: essa API está obsoleta.
*** 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 (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
events As IDTSEvents100 _
) As IDTSEvents
'Uso
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
Parâmetros
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
The native IDTSEvents100 object.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
A managed IDTSEvents object.