Partager via


Propriété 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.

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public ReadOnly Property DeployDatabaseInSingleUserMode As Boolean 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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.

Voir aussi

Référence

SqlDeploymentOptions Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment