PackageUpgradeOptions Constructor (Boolean, Boolean)
Initializes a new instance of the PackageUpgradeOptions class.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Syntax
'Deklaracja
Public Sub New ( _
regeneratePackageID As Boolean, _
upgradeConnectionProviders As Boolean _
)
public PackageUpgradeOptions (
bool regeneratePackageID,
bool upgradeConnectionProviders
)
public:
PackageUpgradeOptions (
bool regeneratePackageID,
bool upgradeConnectionProviders
)
public PackageUpgradeOptions (
boolean regeneratePackageID,
boolean upgradeConnectionProviders
)
public function PackageUpgradeOptions (
regeneratePackageID : boolean,
upgradeConnectionProviders : boolean
)
Parameters
- regeneratePackageID
A value that specifies whether to create a new GUID and update the package ID for the upgraded package. The default value is false.
- upgradeConnectionProviders
A value that specifies whether to update the connection strings in the upgraded package to use the current names for certain providers. For more information, see Remarks.
Remarks
By default, the upgradeConnectionProviders parameter value is true. The following table lists the provider names that are changed.
Previous provider name |
Current provider name |
Sqlncli.1 |
Sqlncli10.1 |
Msolap.3 |
Msolap.4 |
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.