SqlDeploymentOptions.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 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.