DtsConvert.GetWrapper Método (IDTSEvents100)
Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Shared Function GetWrapper ( _
events As IDTSEvents100 _
) As IDTSEvents
'Uso
Dim events As IDTSEvents100
Dim returnValue As IDTSEvents
returnValue = DtsConvert.GetWrapper(events)
public static IDTSEvents GetWrapper(
IDTSEvents100 events
)
public:
static IDTSEvents^ GetWrapper(
IDTSEvents100^ events
)
static member GetWrapper :
events:IDTSEvents100 -> IDTSEvents
public static function GetWrapper(
events : IDTSEvents100
) : IDTSEvents
Parámetros
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
A native IDTSEvents100 object.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
The managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.
Comentarios
Use the DtsConvert.GetWrapper(IDTSEvents100) method instead of the obsolete ToEvents method.