Sdílet prostřednictvím


SqlDeploymentOptions.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.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property ScriptDatabaseCompatibility As Boolean 
    Get
'Usage
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

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

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace