Condividi tramite


DacDeployOptions.DropConstraintsNotInSource Proprietà

Definizione

Ottiene o imposta un valore booleano che specifica se eliminare tutti i vincoli che non esistono nel modello di origine.

public bool DropConstraintsNotInSource { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "DropConstraintsNotInSource")]
public bool DropConstraintsNotInSource { get; set; }
member this.DropConstraintsNotInSource : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "DropConstraintsNotInSource")>]
member this.DropConstraintsNotInSource : bool with get, set
Public Property DropConstraintsNotInSource As Boolean

Valore della proprietà

True per eliminare i vincoli nel modello di origine; in caso contrario, false. Il valore predefinito è true.

Attributi

Commenti

Ciò vale per il controllo, l'impostazione predefinita, la chiave esterna, la chiave primaria e i vincoli univoci.

Si applica a