Share via


DacDeployOptions.DropIndexesNotInSource Property

Definition

Get or set boolean that specifies whether to drop all indexes that do not exist in the source model.

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

Property Value

True to drop indexes not in the source model; otherwise, false. Default is true.

Attributes

Applies to