Gets or sets the cache expiration policy that is combined with the cache duration to describe the caching behavior of the cache that the data source control uses.
Documentation for this section has not yet been entered.
The behavior of the cache is governed by a combination of the XmlDataSource.CacheDuration and XmlDataSource.CacheExpirationPolicy settings. If the XmlDataSource.CacheExpirationPolicy is set to System.Web.UI.DataSourceCacheExpiry.Absolute, the System.Web.UI.WebControls.XmlDataSource caches data on the first data retrieval operation, holds it in memory for the amount of time specified by XmlDataSource.CacheDuration, and invalidates it after the time has lapsed. The cache is then refreshed upon the next operation. If the XmlDataSource.CacheExpirationPolicy is set to System.Web.UI.DataSourceCacheExpiry.Sliding, the data source control caches data on the first data retrieval operation, but resets the time window that it holds the cache for upon each subsequent operation. The cache will expire only if there is no activity for a time equal to the XmlDataSource.CacheDuration since the last data retrieval.