共用方式為


DacDeployOptions.AllowUnsafeRowLevelSecurityDataMovement 屬性

定義

取得或設定布林值,指定是否忽略已啟用 RLS 之資料表上的封鎖資料動作

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

屬性值

True 是表示 在資料表 Default 上啟用資料列層級安全性時忽略資料動作的封鎖,亦即資料動作預設會以 RLS 封鎖。

屬性

適用於