Dela via


SqlSchemaDeploymentOptions.DeployDatabaseInSingleUserMode Property

Gets or sets a value that indicates whether update script should set the database to single-user mode.

Namespace:  Microsoft.Data.Schema.Sql.Build
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Property DeployDatabaseInSingleUserMode As Boolean
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)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SqlSchemaDeploymentOptions Class

Microsoft.Data.Schema.Sql.Build Namespace