Compartir a través de


DacDeployOptions.BackupDatabaseBeforeChanges Propiedad

Get or set boolean that specifies whether a database backup will be performed before proceeding with the actual deployment actions.

Espacio de nombres:  Microsoft.SqlServer.Dac
Ensamblado:  Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)

Sintaxis

'Declaración
Public Property BackupDatabaseBeforeChanges As Boolean 
    Get 
    Set
'Uso
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)

Valor de la propiedad

Tipo: System.Boolean
True to perform a database backup prior to deployment; otherwise, false. Default is false.

Vea también

Referencia

DacDeployOptions Clase

Espacio de nombres Microsoft.SqlServer.Dac