SqlDeploymentOptions.ScriptDatabaseCompatibility Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get boolean that specifies whether the target database should be altered to match the source model's compatibility level.
public bool ScriptDatabaseCompatibility { get; }member this.ScriptDatabaseCompatibility : boolPublic ReadOnly Property ScriptDatabaseCompatibility As BooleanProperty Value
True to alter the target database's compatibility level; otherwise, false. Default is false.