Compartilhar via


Método DtsConvert.GetExtendedInterface (IDTSEvents)

Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Shared Function GetExtendedInterface ( _
    events As IDTSEvents _
) As IDTSEvents100
'Uso
Dim events As IDTSEvents 
Dim returnValue As IDTSEvents100 

returnValue = DtsConvert.GetExtendedInterface(events)
public static IDTSEvents100 GetExtendedInterface(
    IDTSEvents events
)
public:
static IDTSEvents100^ GetExtendedInterface(
    IDTSEvents^ events
)
static member GetExtendedInterface : 
        events:IDTSEvents -> IDTSEvents100
public static function GetExtendedInterface(
    events : IDTSEvents
) : IDTSEvents100

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
The native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.

Comentários

Use the DtsConvert.GetExtendedInterface(IDTSEvents) method instead of the obsolete ToEvents90 method.

Consulte também

Referência

DtsConvert Classe

Sobrecarregado GetExtendedInterface

Namespace Microsoft.SqlServer.Dts.Runtime