Share via


SqlDeploymentOptions.CreateNewDatabase Property

Definition

Get boolean that specifies whether the existing database will be dropped and a new database created before proceeding with the actual deployment actions. Acquires single-user mode before dropping the existing database.

public bool CreateNewDatabase { get; }
member this.CreateNewDatabase : bool
Public ReadOnly Property CreateNewDatabase As Boolean

Property Value

True to drop and re-create the database; otherwise, false. Default is false.

Applies to