DacDeployOptions.DropObjectsNotInSource 属性

定义

获取或设置一个布尔值,用于指定在部署过程中是否应删除位于目标中、但不在源中的对象。

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

属性值

如果应删除目标中存在但源中不存在的对象,则为 true;否则为 false。 默认值为 false。

属性

适用于