Propriété DacDeployOptions.BackupDatabaseBeforeChanges
Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.
Espace de noms : Microsoft.SqlServer.Dac
Assembly : Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)
Syntaxe
'Déclaration
Public Property BackupDatabaseBeforeChanges As Boolean
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.