PublishDacpacSettings.

DeployDatabaseInSingleUserMode Property

Summary

Get or set boolean that specifies whether the system will acquire single-user mode on the target database during the duration of the deployment operation.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
PublishDacpacSettings

Syntax

public bool DeployDatabaseInSingleUserMode { get; set; }

Remarks

The database will be returned to multi-user mode after all changes are applied. Database may remain in single-user mode if an error occurs during execution.

Value

Type Description
bool True to acquire single-user mode during deployment; otherwise, false. Default is false.