Share via


DacDeployOptions.DropConstraintsNotInSource Propiedad

Definición

Obtiene o establece un valor booleano que especifica si se deben quitar todas las restricciones que no existen en el modelo de origen.

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

Valor de propiedad

Es true para quitar las restricciones que no están en el modelo de origen; de lo contrario, es false. El valor predeterminado es true.

Atributos

Comentarios

Esto se aplica a las restricciones CHECK, DEFAULT, FOREIGN KEY, PRIMARY KEY y UNIQUE.

Se aplica a