Share via


ScriptManager.EnableSecureHistoryState 屬性

定義

取得或設定值,該值指出是否要將記錄狀態字串加密。

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

屬性值

如果記錄狀態字串應該加密,則為 true,否則為 false。 預設值是 true

備註

警告

這個屬性 絕對不應該 在生產網站上設定為 false

適用於