다음을 통해 공유


PackageUpgradeOptions 생성자 (Boolean, Boolean)

Initializes a new instance of the PackageUpgradeOptions class.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
Public Sub New ( _
    regeneratePackageID As Boolean, _
    upgradeConnectionProviders As Boolean _
)
‘사용 방법
Dim regeneratePackageID As Boolean
Dim upgradeConnectionProviders As Boolean

Dim instance As New PackageUpgradeOptions(regeneratePackageID, _
    upgradeConnectionProviders)
public PackageUpgradeOptions(
    bool regeneratePackageID,
    bool upgradeConnectionProviders
)
public:
PackageUpgradeOptions(
    bool regeneratePackageID, 
    bool upgradeConnectionProviders
)
new : 
        regeneratePackageID:bool * 
        upgradeConnectionProviders:bool -> PackageUpgradeOptions
public function PackageUpgradeOptions(
    regeneratePackageID : boolean, 
    upgradeConnectionProviders : boolean
)

매개 변수

  • regeneratePackageID
    형식: System. . :: . .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
    형식: System. . :: . .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.

주의

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