This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.SqlServer.
Summary
Sets the flag to execute restore command `WITH REPLACE` suffix. Allows you to write over an existing database when
doing a restore without first backing up the tail of the transaction log.
The WITH REPLACE basically tells SQL Server to just throw out any active contents
in the transaction log and move forward with the restore.
- Assembly
- Cake
.SqlServer .dll - Namespace
- Cake
.SqlServer - Containing Type
- Restore
Sql Backup Settings
Syntax
public bool WithReplace { get; set; }
Value
Type | Description |
---|---|
bool |