RestoreSqlBackupSettings.

SwitchToUserMode Property

Summary

Before restoring backup, database will be switched to the user mode selected Default operation is to go into single user mode. However in some situation this might not work. Use this switch to bypass single user mode and restore the DB as it is, or your can use restricted mode instead.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
RestoreSqlBackupSettings

Syntax

public DbUserMode SwitchToUserMode { get; set; }

Value

Type Description
DbUserMode