SqlDeploymentOptions.DeployDatabaseInSingleUserMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get boolean that specifies whether the system will acquire single-user mode on the target database during the duration of the deployment operation.
public bool DeployDatabaseInSingleUserMode { get; }
member this.DeployDatabaseInSingleUserMode : bool
Public ReadOnly Property DeployDatabaseInSingleUserMode As Boolean
Property Value
True to acquire single-user mode during deployment; otherwise, false. Default is false.
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.