Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.
命名空间: Microsoft.SqlServer.Dac
程序集: Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)
语法
声明
Public Property BackupDatabaseBeforeChanges As Boolean
Get
Set
用法
Dim instance As DacDeployOptions
Dim value As Boolean
value = instance.BackupDatabaseBeforeChanges
instance.BackupDatabaseBeforeChanges = value
public bool BackupDatabaseBeforeChanges { get; set; }
public:
property bool BackupDatabaseBeforeChanges {
bool get ();
void set (bool value);
}
member BackupDatabaseBeforeChanges : bool with get, set
function get BackupDatabaseBeforeChanges () : boolean
function set BackupDatabaseBeforeChanges (value : boolean)
属性值
类型:System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.