DtsConvert.ToPackage(IDTSPackage100) 方法

定义

注意

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 对象。

属性

适用于