다음을 통해 공유


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 네임스페이스