DacDeployOptions.DropIndexesNotInSource Property

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

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

Syntax

'Declaration
Public Property DropIndexesNotInSource As Boolean 
    Get 
    Set
'Usage
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DropIndexesNotInSource

instance.DropIndexesNotInSource = value
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
True to drop indexes not in the source model; otherwise, false. Default is true.

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace