SqlSchemaDeploymentOptions.BackupDatabaseBeforeChanges Property
Gets or sets a value that indicates whether the update script should include statements to back up the database before the target is modified.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Property BackupDatabaseBeforeChanges As Boolean
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)
Property Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.