SqlDeploymentOptions.ScriptDatabaseCompatibility 属性

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

命名空间:  Microsoft.SqlServer.Dac.Deployment
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
Public ReadOnly Property ScriptDatabaseCompatibility As Boolean 
    Get
用法
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

属性值

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

请参阅

参考

SqlDeploymentOptions 类

Microsoft.SqlServer.Dac.Deployment 命名空间