语言

DacDeployOptions.ScriptDeployStateChecks 属性

定义

获取或设置一个布尔值,该值指定是否应检查目标数据库以确保它存在、处于联机状态并且可以更新。

public bool ScriptDeployStateChecks { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptDeployStateChecks")]
public bool ScriptDeployStateChecks { get; set; }
member this.ScriptDeployStateChecks : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptDeployStateChecks")>]
member this.ScriptDeployStateChecks : bool with get, set
Public Property ScriptDeployStateChecks As Boolean

属性值

若要对目标数据库执行状态检查,则为 True;否则为 false。 默认值为 false。

属性

适用于