Condividi tramite


Proprietà SqlDeploymentOptions.BackupDatabaseBeforeChanges

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

Spazio dei nomi  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property BackupDatabaseBeforeChanges As Boolean 
    Get
'Utilizzo
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.BackupDatabaseBeforeChanges
public bool BackupDatabaseBeforeChanges { get; }
public:
property bool BackupDatabaseBeforeChanges {
    bool get ();
}
member BackupDatabaseBeforeChanges : bool
function get BackupDatabaseBeforeChanges () : boolean

Valore proprietà

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

Vedere anche

Riferimento

SqlDeploymentOptions Classe

Spazio dei nomi Microsoft.SqlServer.Dac.Deployment