DacDeployOptions.CreateNewDatabase Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get or set 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; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "CreateNewDatabase")]
public bool CreateNewDatabase { get; set; }
member this.CreateNewDatabase : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "CreateNewDatabase")>]
member this.CreateNewDatabase : bool with get, set
Public Property CreateNewDatabase As Boolean
Property Value
True to drop and re-create the database; otherwise, false. Default is false.
- Attributes