DacDeployOptions.DropIndexesNotInSource 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置布尔值,指定是否删除源模型中不存在的所有索引。
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。
- 属性