GetExtendedInterface 方法 (Package)
Gets the native IDTSPackage100 object that corresponds to the specified managed Package object.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Shared Function GetExtendedInterface ( _
pkg As Package _
) As IDTSPackage100
用法
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
参数
- pkg
类型:Microsoft.SqlServer.Dts.Runtime. . :: . .Package
A managed Package object.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSPackage100
The native IDTSPackage100 object that corresponds to the specified managed Package object.
注释
Use the DtsConvert..::..GetExtendedInterface(Package) method instead of the obsolete ToPackage90 method.