DacDeployOptions.DeployDatabaseInSingleUserMode 属性

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.

命名空间:  Microsoft.SqlServer.Dac
程序集:  Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)

语法

声明
Public Property DeployDatabaseInSingleUserMode As Boolean 
    Get 
    Set
用法
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DeployDatabaseInSingleUserMode

instance.DeployDatabaseInSingleUserMode = value
public bool DeployDatabaseInSingleUserMode { get; set; }
public:
property bool DeployDatabaseInSingleUserMode {
    bool get ();
    void set (bool value);
}
member DeployDatabaseInSingleUserMode : bool with get, set
function get DeployDatabaseInSingleUserMode () : boolean 
function set DeployDatabaseInSingleUserMode (value : boolean)

属性值

类型: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.

请参阅

参考

DacDeployOptions 类

Microsoft.SqlServer.Dac 命名空间