DacUpgradeOptions Class
Use the DacUpgrade type to specify which options are taken when upgrading a DAC instance.
Inheritance Hierarchy
Object
Microsoft.SqlServer.Management.Dac.DacUpgradeOptions
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Déclaration
Public Class DacUpgradeOptions
'Utilisation
Dim instance As DacUpgradeOptions
public class DacUpgradeOptions
public ref class DacUpgradeOptions
type DacUpgradeOptions = class end
public class DacUpgradeOptions
The DacUpgradeOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DacUpgradeOptions | Initializes a DacUpgradeOptions object with no options set. |
Top
Properties
Name | Description | |
---|---|---|
BlockOnChanges | Gets or sets a value that indicates whether the upgrade is terminated if the database schema is different than that defined in the previous DAC. | |
ConfigurationProperties | Gets or sets the configuration properties to store settings corresponding to settings that fall in between application and host level artifacts. | |
IgnoreDataLoss | Gets or sets a value that indicates whether the upgrade will proceed even if some of the operations result in the loss of data. | |
RollbackOnFailure | Gets or sets a value that indicates whether the upgrade is enclosed in transactions, and will attempt a rollback if errors are encountered. | |
SkipPolicyValidation | Gets and sets the SkipPolicyValidation option that controls whether the upgrade evaluates the server selection policy in the DAC type used for the upgrade. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
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.