DacUpgradeOptions.BlockOnChanges Property

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.

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

Syntax

'Declaration
Public Property BlockOnChanges As Boolean
    Get
    Set
'Usage
Dim instance As DacUpgradeOptions
Dim value As Boolean

value = instance.BlockOnChanges

instance.BlockOnChanges = value
public bool BlockOnChanges { get; set; }
public:
property bool BlockOnChanges {
    bool get ();
    void set (bool value);
}
member BlockOnChanges : bool with get, set
function get BlockOnChanges () : boolean
function set BlockOnChanges (value : boolean)

Property Value

Type: System.Boolean
true if the upgrade is terminated if the database schema is different than that defined in the previous DAC; otherwise, false. The default setting is false.

See Also

Reference

DacUpgradeOptions Class

Microsoft.SqlServer.Management.Dac Namespace