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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。