Assembly: System.Web (in system.web.dll)
/** @property */ public String get_CacheKeyDependency () /** @property */ public void set_CacheKeyDependency (String value)
public function get CacheKeyDependency () : String public function set CacheKeyDependency (value : String)
Property ValueA key that identifies all cache objects created by the XmlDataSource control.
The XmlDataSource control supports data caching. While data is cached, the XmlDataSource retrieves data from the cache rather than from the underlying data file. When the cache expires, it retrieves data from the underlying file and re-caches the data.
You can set the CacheKeyDependency property to create a dependency between all cache entries created by the SqlDataSource control and the key. You can programmatically invalidate all the cache entries at any time by expiring the key.
Because of the properties used to create the CacheKeyDependency, it is possible that multiple XmlDataSource controls can use the same cache in scenarios where they load the same data from the same XML file and transform file and have the same CacheDuration and CacheExpirationPolicy set.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.