DacDeployOptions.ScriptDatabaseCompatibility Property

SQL Server 2014

Updated: April 20, 2017

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

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

public bool ScriptDatabaseCompatibility { get; set; }

Property Value

Type: System.Boolean

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

Return to top