共用方式為


RoleManagerSection.MaxCachedResults 屬性

定義

取得或設定角色 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。

適用於

另請參閱