PackageUpgradeOptions Constructors
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.
Initializes a new instance of the PackageUpgradeOptions class.
Overloads
PackageUpgradeOptions() |
Initializes a new instance of the PackageUpgradeOptions class. |
PackageUpgradeOptions(Boolean, Boolean) |
Initializes a new instance of the PackageUpgradeOptions class. |
PackageUpgradeOptions()
Initializes a new instance of the PackageUpgradeOptions class.
public:
PackageUpgradeOptions();
public PackageUpgradeOptions ();
Public Sub New ()
Applies to
PackageUpgradeOptions(Boolean, Boolean)
Initializes a new instance of the PackageUpgradeOptions class.
public:
PackageUpgradeOptions(bool regeneratePackageID, bool upgradeConnectionProviders);
public PackageUpgradeOptions (bool regeneratePackageID, bool upgradeConnectionProviders);
new Microsoft.SqlServer.Dts.Runtime.PackageUpgradeOptions : bool * bool -> Microsoft.SqlServer.Dts.Runtime.PackageUpgradeOptions
Public Sub New (regeneratePackageID As Boolean, upgradeConnectionProviders As Boolean)
Parameters
- regeneratePackageID
- Boolean
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
- Boolean
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 |