言語

DacDeployOptions.BlockWhenDriftDetected プロパティ

定義

システムがデータベースの現在の状態とデータベースの登録済み状態との違いをチェックし、変更が検出された場合はデプロイをブロックするかどうかを指定するブール値を取得または設定します。 このオプションが 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 です。

属性

適用対象