語言

DacDeployOptions.DropPermissionsNotInSource 屬性

定義

取得或設定布林值,指定是否要刪除所有在原始模型中不存在的權限。

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

屬性值

在原始碼模型中沒有移除權限時,這是正確的;否則,則為錯誤。 預設值為 false。

屬性

適用於