共用方式為


CacheSection.PercentagePhysicalMemoryUsedLimit 屬性

定義

取得或設定一個值,表示虛擬記憶體使用率的最大百分比。

public:
 property int PercentagePhysicalMemoryUsedLimit { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("percentagePhysicalMemoryUsedLimit", DefaultValue=0)]
[System.Configuration.IntegerValidator(MaxValue=100, MinValue=0)]
public int PercentagePhysicalMemoryUsedLimit { get; set; }
[<System.Configuration.ConfigurationProperty("percentagePhysicalMemoryUsedLimit", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MaxValue=100, MinValue=0)>]
member this.PercentagePhysicalMemoryUsedLimit : int with get, set
Public Property PercentagePhysicalMemoryUsedLimit As Integer

屬性值

虛擬記憶體使用率的最高百分比。 預設值為 90%。

屬性

範例

// Increase memory limit.
cacheSection.PercentagePhysicalMemoryUsedLimit = 
    cacheSection.PercentagePhysicalMemoryUsedLimit + 1;
' Increase memory limit.
cacheSection.PercentagePhysicalMemoryUsedLimit =
    cacheSection.PercentagePhysicalMemoryUsedLimit + 1

備註

PercentagePhysicalMemoryUsedLimit 性質規定了高壓條件的臨界值。 當接近這個門檻時,快取系統會逐漸開始採取更積極的清掃措施。

適用於

另請參閱