RoleManagerSection.MaxCachedResults 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定角色 cookie 中 ASP.NET 快取的最大角色數量。
public:
property int MaxCachedResults { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxCachedResults", DefaultValue=25)]
public int MaxCachedResults { get; set; }
[<System.Configuration.ConfigurationProperty("maxCachedResults", DefaultValue=25)>]
member this.MaxCachedResults : int with get, set
Public Property MaxCachedResults As Integer
屬性值
一個表示角色 cookie 中最大角色數 ASP.NET 快取數的值。 預設值為 25。
- 屬性
備註
該屬性回 MaxCachedResults 傳一個整數,表示角色 cookie 中 ASP.NET 快取的最大角色數量。 預設值為 25。