System.Web.Configuration.SqlCacheDependencyDatabase Class

Configures the SQL cache dependencies databases for an ASP.NET application. This class cannot be inherited.

See Also: SqlCacheDependencyDatabase Members


public sealed class SqlCacheDependencyDatabase : System.Configuration.ConfigurationElement


The System.Web.Configuration.SqlCacheDependencyDatabase allows you to programmatically access and modify the databases element of the sqlCacheDependency node within the caching configuration section.

The SQL cache dependency allows the cached data to be synchronized with the original source. After you configure the relationship between an item stored in an ASP.NET application's cache and a specific SQL Server database table, an instance of the System.Web.Caching.SqlCacheDependency class monitors the table for possible changes.


Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0