DacDeployOptions.BlockWhenDriftDetected Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Dapatkan atau atur boolean yang menentukan apakah sistem akan memeriksa perbedaan antara status database saat ini dan status database terdaftar dan penyebaran blokir 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
True to error adalah penyimpangan terdeteksi; jika tidak, salah. Defaultnya adalah true.
- Atribut