Метод DtsConvert.ToPackage90
Примечание. Этот API-интерфейс устарел.
*** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToPackage90 ( _
pkg As Package _
) As IDTSPackage100
'Применение
Dim pkg As Package
Dim returnValue As IDTSPackage100
returnValue = DtsConvert.ToPackage90(pkg)
[ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public static IDTSPackage100 ToPackage90(
Package pkg
)
[ObsoleteAttribute(L"The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public:
static IDTSPackage100^ ToPackage90(
Package^ pkg
)
[<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")>]
static member ToPackage90 :
pkg:Package -> IDTSPackage100
public static function ToPackage90(
pkg : Package
) : IDTSPackage100
Параметры
- pkg
Тип: Microsoft.SqlServer.Dts.Runtime.Package
The managed Package object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
A native IDTSPackage100 object.