Método DtsConvert.GetExtendedInterface (IDTSComponentEvents)
Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
Public Shared Function GetExtendedInterface ( _
events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Uso
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100
returnValue = DtsConvert.GetExtendedInterface(events)
public static IDTSComponentEvents100 GetExtendedInterface(
IDTSComponentEvents events
)
public:
static IDTSComponentEvents100^ GetExtendedInterface(
IDTSComponentEvents^ events
)
static member GetExtendedInterface :
events:IDTSComponentEvents -> IDTSComponentEvents100
public static function GetExtendedInterface(
events : IDTSComponentEvents
) : IDTSComponentEvents100
Parâmetros
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
A managed IDTSComponentEvents object.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100
The native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Comentários
Use the DtsConvert.GetExtendedInterface(IDTSComponentEvents) method instead of the obsolete ToComponentEvents90 method.