SqlParameter.ForceColumnEncryption 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在使用 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