Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

DacDeployOptions.DeployDatabaseInSingleUserMode Property

SQL Server 2012

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.

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
public bool DeployDatabaseInSingleUserMode { get; set; }

Property Value

Type: System.Boolean
True to acquire single-user mode during deployment; otherwise, false. Default is false.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.