Share via


SqlServerCacheOptions.DefaultSlidingExpiration Property

Definition

The default sliding expiration set for a cache entry if neither Absolute or SlidingExpiration has been set explicitly. By default, its 20 minutes.

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

Property Value

Applies to