DtsConvert.ToPackage(IDTSPackage100) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The ToXXXX() methods have been replaced with the GetWrapper() method.
成员已过时; GetWrapper(IDTSPackage100) 请改用 方法。 将本机 IDTSPackage100 对象转换为托管 Package 对象。
public:
static Microsoft::SqlServer::Dts::Runtime::Package ^ ToPackage(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ ipkg);
[System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Microsoft.SqlServer.Dts.Runtime.Package ToPackage (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 ipkg);
[<System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToPackage : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 -> Microsoft.SqlServer.Dts.Runtime.Package
Public Shared Function ToPackage (ipkg As IDTSPackage100) As Package
参数
- ipkg
- IDTSPackage100
本机 IDTSPackage100 对象。
返回
一个托管 Package 对象。
- 属性