Delen via


SqlDeploymentOptions.BackupDatabaseBeforeChanges Property

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property BackupDatabaseBeforeChanges As Boolean 
    Get
'Usage
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

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace