CacheStoreProvider.Trim(Int32) Method

Definition

Removes a specified percentage of cache entries.

public:
 abstract long Trim(int percent);
public abstract long Trim (int percent);
abstract member Trim : int -> int64
Public MustOverride Function Trim (percent As Integer) As Long

Parameters

percent
Int32

The percentage of total cache entries to remove.

Returns

The specified percentage of cache entries removed from the cache.

Applies to