Compartir a través de


SqlSchemaDeploymentOptions.BackupDatabaseBeforeChanges (Propiedad)

Obtiene o establece un valor que indica si el script de actualización debe incluir instrucciones para hacer una copia de seguridad de la base de datos antes de modificar el destino.

Espacio de nombres:  Microsoft.Data.Schema.Sql.Build
Ensamblado:  Microsoft.Data.Schema.Sql (en Microsoft.Data.Schema.Sql.dll)

Sintaxis

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

Tipo: System.Boolean

Seguridad de .NET Framework

Vea también

Referencia

SqlSchemaDeploymentOptions Clase

Microsoft.Data.Schema.Sql.Build (Espacio de nombres)