DtsConvert.ToPackage(IDTSPackage100) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The ToXXXX() methods have been replaced with the GetWrapper() method.
*** Member obsolete; use the GetWrapper(IDTSPackage100) method instead. *** Converts a native IDTSPackage100 object to a managed Package object.
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
Parameters
- ipkg
- IDTSPackage100
The native IDTSPackage100 object.
Returns
A managed Package object.
- Attributes