次の方法で共有


DacDeployOptions.DropConstraintsNotInSource プロパティ

定義

ソース モデルに存在しない制約をすべて削除するかどうかを指定するブール値を取得または設定します。

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

プロパティ値

ソース モデルに存在しない制約を削除する場合は true、それ以外の場合は false。 既定値は true です。

属性

注釈

これは CHECK 制約、DEFAULT 制約、外部キー制約、主キー制約、UNIQUE 制約に適用されます。

適用対象