Partager via


Classe BatchUpgradeOptions

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Class BatchUpgradeOptions
'Utilisation
Dim instance As BatchUpgradeOptions
public class BatchUpgradeOptions
public ref class BatchUpgradeOptions
type BatchUpgradeOptions =  class end
public class BatchUpgradeOptions

Le type BatchUpgradeOptions expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique BatchUpgradeOptions Initializes a new instance of the BatchUpgradeOptions class.

Haut de la page

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime