Bahasa

DacDeployOptions.BlockWhenDriftDetected Properti

Definisi

Dapatkan atau atur boolean yang menentukan apakah sistem akan memeriksa perbedaan antara status database saat ini dan status database terdaftar dan penyebaran blok jika perubahan terdeteksi. Bahkan jika opsi ini diatur ke true, deteksi penyimpangan hanya akan terjadi pada database jika sebelumnya disebarkan dengan RegisterDataTierApplication opsi diaktifkan.

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

Nilai Properti

Benar untuk kesalahan adalah penyimpangan terdeteksi; jika tidak, salah. Nilai default adalah benar.

Atribut

Berlaku untuk