Freigeben über


BatchUpgradeOptions-Klasse

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

Vererbungshierarchie

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

Der BatchUpgradeOptions-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode BatchUpgradeOptions Initializes a new instance of the BatchUpgradeOptions class.

Zum Anfang

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime-Namespace