DacDeployOptions.BlockWhenDriftDetected プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
システムがデータベースの現在の状態とデータベースの登録済み状態との違いをチェックし、変更が検出された場合はデプロイをブロックするかどうかを指定するブール値を取得または設定します。 このオプションが true に設定されている場合でも、ドリフト検出は、以前に RegisterDataTierApplication オプションを有効にしてデプロイされた場合にのみ、データベースで発生します。
public bool BlockWhenDriftDetected { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BlockWhenDriftDetected")]
public bool BlockWhenDriftDetected { get; set; }
member this.BlockWhenDriftDetected : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BlockWhenDriftDetected")>]
member this.BlockWhenDriftDetected : bool with get, set
Public Property BlockWhenDriftDetected As Boolean
プロパティ値
True の場合、誤差が検出されます。それ以外の場合は false。 既定値は True です。
- 属性