Share via


DacDeployOptions.ScriptDatabaseCompatibility Property

Definition

Get or set boolean that specifies whether the target database should be altered to match the source model's compatibility level.

public bool ScriptDatabaseCompatibility { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptDatabaseCompatibility")]
public bool ScriptDatabaseCompatibility { get; set; }
member this.ScriptDatabaseCompatibility : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptDatabaseCompatibility")>]
member this.ScriptDatabaseCompatibility : bool with get, set
Public Property ScriptDatabaseCompatibility As Boolean

Property Value

True to alter the target database's compatibility level; otherwise, false. Default is false.

Attributes

Applies to