共用方式為


BatchUpgradeOptions 類別

Specifies the options that the Upgrade method will apply to a list of Integration Services packages during the upgrade process.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime..::..BatchUpgradeOptions

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Class BatchUpgradeOptions
'用途
Dim instance As BatchUpgradeOptions
public class BatchUpgradeOptions
public ref class BatchUpgradeOptions
type BatchUpgradeOptions =  class end
public class BatchUpgradeOptions

BatchUpgradeOptions 型別公開下列成員。

建構函式

  名稱 說明
公用方法 BatchUpgradeOptions Initializes a new instance of the BatchUpgradeOptions class.

上層

屬性

  名稱 說明
公用屬性 ActionOnExist Gets or sets a ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing Integration Services packages.
公用屬性 BackupOldPackages Gets or sets the value that specifies whether to back up the original Integration Services packages before upgrading the packages.
公用屬性 ContinueOnError Gets or sets the value that specifies whether an error stops the upgrade process for an Integration Services package.
公用屬性 TestOnly 基礎結構。
公用屬性 Validate Gets or sets the value that specifies whether to validate an upgraded Integration Services package.
公用屬性 ValidationFailureAsError Gets or sets the value that specifies whether to treat Integration Services packages that are not valid as errors or warnings.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

You pass the BatchUpgradeOptions object to the Upgrade method. For a code example that demonstrates how to upgrade packages, see the Upgrade method.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。