Bagikan melalui


DacDeployOptions.DropConstraintsNotInSource Properti

Definisi

Dapatkan atau atur boolean yang menentukan apakah akan menghilangkan semua batasan yang tidak ada dalam model sumber.

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

Nilai Properti

Benar untuk menghilangkan batasan yang tidak ada dalam model sumber; jika tidak, salah. Defaultnya adalah true.

Atribut

Keterangan

Ini berlaku untuk memeriksa, default, kunci asing, kunci primer, dan batasan unik.

Berlaku untuk