Share via


DacDeployOptions.CreateNewDatabase Proprietà

Definizione

Ottiene o imposta un valore booleano che specifica se il database esistente verrà eliminato e verrà creato un nuovo database prima di procedere con le azioni di distribuzione effettive. Acquisisce la modalità utente singolo prima di eliminare il database esistente.

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

Valore della proprietà

True per eliminare e ricreare il database; in caso contrario, false. L'impostazione predefinita è false.

Attributi

Si applica a