SqlParameter.ForceColumnEncryption 屬性

定義

在使用 Always Encrypted 時,會強制加密參數。 如果 SQL Server 告知驅動程式該參數不需要加密,使用該參數的查詢將會失敗。 此特性可額外防護因 SQL Server 遭入侵而提供錯誤加密元資料給用戶端,可能導致資料外洩的安全攻擊。

public:
 property bool ForceColumnEncryption { bool get(); void set(bool value); };
public bool ForceColumnEncryption { get; set; }
member this.ForceColumnEncryption : bool with get, set
Public Property ForceColumnEncryption As Boolean

屬性值

true若參數具有力列加密;否則,。 false

適用於