DacDeployOptions.DropIndexesNotInSource 属性

定义

获取或设置布尔值,指定是否删除源模型中不存在的所有索引。

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

属性值

如果删除源模型中的索引,则为 True;否则为 false。 默认值为 true。

属性

适用于