Compartir a través de


GetExtendedInterface Método (Package)

Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Shared Function GetExtendedInterface ( _
    pkg As Package _
) As IDTSPackage100
'Uso
Dim pkg As Package
Dim returnValue As IDTSPackage100

returnValue = DtsConvert.GetExtendedInterface(pkg)
public static IDTSPackage100 GetExtendedInterface(
    Package pkg
)
public:
static IDTSPackage100^ GetExtendedInterface(
    Package^ pkg
)
static member GetExtendedInterface : 
        pkg:Package -> IDTSPackage100 
public static function GetExtendedInterface(
    pkg : Package
) : IDTSPackage100

Parámetros

Valor devuelto

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

Notas

Use the DtsConvert..::..GetExtendedInterface(Package) method instead of the obsolete ToPackage90 method.