DacDeployOptions.BackupDatabaseBeforeChanges 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定布林值,指定是否要在繼續實際部署動作之前執行資料庫備份。
public bool BackupDatabaseBeforeChanges { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BackupDatabaseBeforeChanges")]
public bool BackupDatabaseBeforeChanges { get; set; }
member this.BackupDatabaseBeforeChanges : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BackupDatabaseBeforeChanges")>]
member this.BackupDatabaseBeforeChanges : bool with get, set
Public Property BackupDatabaseBeforeChanges As Boolean
屬性值
True 表示在部署之前執行資料庫備份,否則為 false。 預設值為 false。
- 屬性