RestoreOptions.ReplaceDatabase Property
Gets or sets SQL Server should create the specified database and its related files even if another database already exists with the same name
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public bool ReplaceDatabase { [CompilerGeneratedAttribute] get; [CompilerGeneratedAttribute] set; }
Property Value
Type: System.BooleanTrue if the SQL Server should create the specified database; otherwise, false.
Show: