Udostępnij przez


DtsConvert.GetExtendedInterface Method (IDTSComponentEvents)

Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Deklaracja
Public Shared Function GetExtendedInterface ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
public static IDTSComponentEvents100 GetExtendedInterface (
    IDTSComponentEvents events
)
public:
static IDTSComponentEvents100^ GetExtendedInterface (
    IDTSComponentEvents^ events
)
public static IDTSComponentEvents100 GetExtendedInterface (
    IDTSComponentEvents events
)
public static function GetExtendedInterface (
    events : IDTSComponentEvents
) : IDTSComponentEvents100

Parameters

Return Value

The native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.

Remarks

Use the DtsConvert.GetExtendedInterface(IDTSComponentEvents) method instead of the obsolete ToComponentEvents90 method.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.