Dela via


BatchUpgradeOptions Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Class BatchUpgradeOptions
'Usage
Dim instance As BatchUpgradeOptions
public class BatchUpgradeOptions
public ref class BatchUpgradeOptions
type BatchUpgradeOptions =  class end
public class BatchUpgradeOptions

The BatchUpgradeOptions type exposes the following members.

Constructors

  Name Description
Public method BatchUpgradeOptions Initializes a new instance of the BatchUpgradeOptions class.

Top

Properties

  Name Description
Public property ActionOnExist Gets or sets a ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing Integration Services packages.
Public property BackupOldPackages Gets or sets the value that specifies whether to back up the original Integration Services packages before upgrading the packages.
Public property ContinueOnError Gets or sets the value that specifies whether an error stops the upgrade process for an Integration Services package.
Public property TestOnly Infrastructure.
Public property Validate Gets or sets the value that specifies whether to validate an upgraded Integration Services package.
Public property ValidationFailureAsError Gets or sets the value that specifies whether to treat Integration Services packages that are not valid as errors or warnings.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.