Partilhar via


DtsConvert.ToPackage Method

Converts a native package to a managed Package object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Shared Function ToPackage ( _
    ipkg As IDTSPackage90 _
) As Package
public static Package ToPackage (
    IDTSPackage90 ipkg
)
public:
static Package^ ToPackage (
    IDTSPackage90^ ipkg
)
public static Package ToPackage (
    IDTSPackage90 ipkg
)
public static function ToPackage (
    ipkg : IDTSPackage90
) : Package

Parameters

  • ipkg
    The native package.

Return Value

A managed Package object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DtsConvert Class
DtsConvert Members
Microsoft.SqlServer.Dts.Runtime Namespace