Metoda DtsConvert.ToEvents
Uwaga: ten interfejs API jest już nieaktualny.
*** Członkowskich przestarzałe; Użyj GetWrapper(IDTSEvents100) metoda zamiast. *** Konwertuje macierzystego IDTSEvents100 obiektu zarządzanego IDTSEvents obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime
Zestaw: Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)
Składnia
'Deklaracja
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
events As IDTSEvents100 _
) As IDTSEvents
'Użycie
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
Parametry
- events
Typ: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
W trybie macierzystym IDTSEvents100 obiektu.
Wartość zwracana
Typ: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
Zarządzanie IDTSEvents obiektu.