Share via


SqlSchemaDeploymentOptions.DropIndexesNotInSource Property

Gets or sets a value that indicates whether indexes that occur only in the target database should be dropped when deploying changes.

Namespace:  Microsoft.Data.Schema.Sql.Build
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Property DropIndexesNotInSource As Boolean
public bool DropIndexesNotInSource { get; set; }
public:
property bool DropIndexesNotInSource {
    bool get ();
    void set (bool value);
}
member DropIndexesNotInSource : bool with get, set
function get DropIndexesNotInSource () : boolean
function set DropIndexesNotInSource (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SqlSchemaDeploymentOptions Class

Microsoft.Data.Schema.Sql.Build Namespace