RestoreSqlBackupSettings.

WithReplace Property

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
RestoreSqlBackupSettings

Syntax

public bool WithReplace { get; set; }

Value

Type Description
bool