Sdílet prostřednictvím


SqlDeploymentOptions.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.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property DropIndexesNotInSource As Boolean 
    Get
'Usage
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.DropIndexesNotInSource
public bool DropIndexesNotInSource { get; }
public:
property bool DropIndexesNotInSource {
    bool get ();
}
member DropIndexesNotInSource : bool
function get DropIndexesNotInSource () : boolean

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace