共用方式為


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

參數