Compartir a través de


DacDeployOptions.DeployDatabaseInSingleUserMode Propiedad

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.

Espacio de nombres:  Microsoft.SqlServer.Dac
Ensamblado:  Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)

Sintaxis

'Declaración
Public Property DeployDatabaseInSingleUserMode As Boolean 
    Get 
    Set
'Uso
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)

Valor de la propiedad

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

Comentarios

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.

Vea también

Referencia

DacDeployOptions Clase

Espacio de nombres Microsoft.SqlServer.Dac