DacUpgradeOptions Class

Use the DacUpgrade type to specify which options are taken when upgrading a DAC instance.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Dac.DacUpgradeOptions

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Class DacUpgradeOptions
'Usage
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
Public method DacUpgradeOptions Initializes a DacUpgradeOptions object with no options set.

Top

Properties

  Name Description
Public property 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.
Public property ConfigurationProperties Gets or sets the configuration properties to store settings corresponding to settings that fall in between application and host level artifacts.
Public property 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.
Public property RollbackOnFailure Gets or sets a value that indicates whether the upgrade is enclosed in transactions, and will attempt a rollback if errors are encountered.
Public property 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
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

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.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace