Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.
Namespace: Microsoft.SqlServer.Dac
Assembly: Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
Syntax
'Declaration
Public Property BackupDatabaseBeforeChanges As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.