次の方法で共有


DacDeployOptions.CreateNewDatabase プロパティ

定義

実際の配置操作を始める前に、既存のデータベースを削除して新しいデータベースを作成するかどうかを指定するブール値を取得または設定します。 既存のデータベースを削除する前に、シングル ユーザー モードを取得します。

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

プロパティ値

データベースを削除して再作成する場合は true、それ以外の場合は false。 既定値は false です。

属性

適用対象