CreateNewDatabase Property
Collapse the table of content
Expand the table of content

DacDeployOptions.CreateNewDatabase Property

SQL Server 2014

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.

Namespace:   Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

public bool CreateNewDatabase { get; set; }

Property Value

Type: System.Boolean

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

Return to top

Community Additions

© 2016 Microsoft