Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

BatchUpgradeOptions Class

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


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

public class BatchUpgradeOptions

The BatchUpgradeOptions type exposes the following members.

Public methodBatchUpgradeOptionsInitializes a new instance of the BatchUpgradeOptions class.

Public propertyActionOnExistGets or sets a ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing Integration Services packages.
Public propertyBackupOldPackagesGets or sets the value that specifies whether to back up the original Integration Services packages before upgrading the packages.
Public propertyContinueOnErrorGets or sets the value that specifies whether an error stops the upgrade process for an Integration Services package.
Public propertyTestOnlyInfrastructure. Gets or sets whether the upgrade options are for testing only.
Public propertyValidateGets or sets the value that specifies whether to validate an upgraded Integration Services package.
Public propertyValidationFailureAsErrorGets or sets the value that specifies whether to treat Integration Services packages that are not valid as errors or warnings.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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

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

Community Additions

© 2015 Microsoft