DacDeployOptions.ScriptDatabaseCompatibility Property

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)

Syntax

'Declaration
Public Property ScriptDatabaseCompatibility As Boolean 
    Get 
    Set
'Usage
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.ScriptDatabaseCompatibility

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

Property Value

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

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace