다음을 통해 공유


SqlDeploymentOptions.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.Deployment
어셈블리:  Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)

구문

‘선언
Public ReadOnly Property DeployDatabaseInSingleUserMode As Boolean 
    Get
‘사용 방법
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.DeployDatabaseInSingleUserMode
public bool DeployDatabaseInSingleUserMode { get; }
public:
property bool DeployDatabaseInSingleUserMode {
    bool get ();
}
member DeployDatabaseInSingleUserMode : bool
function get DeployDatabaseInSingleUserMode () : 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.

참고 항목

참조

SqlDeploymentOptions 클래스

Microsoft.SqlServer.Dac.Deployment 네임스페이스