共用方式為


DacDeployOptions.DoNotDropObjectTypes 屬性

定義

取得或設定物件類型的集合,當來源中沒有對應的物件存在時,將不會從目標卸載。 請注意,由於其他物件的相依性,因此可能仍然需要卸載和重新建立指定型別的物件。

public Microsoft.SqlServer.Dac.ObjectType[] DoNotDropObjectTypes { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "DoNotDropObjectTypes")]
public Microsoft.SqlServer.Dac.ObjectType[] DoNotDropObjectTypes { get; set; }
member this.DoNotDropObjectTypes : Microsoft.SqlServer.Dac.ObjectType[] with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "DoNotDropObjectTypes")>]
member this.DoNotDropObjectTypes : Microsoft.SqlServer.Dac.ObjectType[] with get, set
Public Property DoNotDropObjectTypes As ObjectType()

屬性值

屬性

適用於