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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.