System.Web 2.0.0.0 System.Configuration.ConfigurationSection

The allows you to programmatically access and modify the sqlCacheDependency element of the cache 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 class monitors the table so that when an item in the table changes, the item is automatically removed from the cache.

The settings in this element only affect the table-based version of the object. The row-level objects used with sqprsqlong and above are not affected by these settings.

The can write information into the related section of the configuration file according to the restrictions defined by the section property whose value is . Any attempt to write in a configuration file at a level not allowed in the hierarchy will result in an error message generated by the parser. However, you can use this class to read configuration information at any level in the hierarchy.

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

- Constructor

  The constructor is not intended to be used directly from your code. It is called by the ASP.NET configuration system. You obtain an instance of the class by using the method.

  Initializes a new instance of the class.

  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("databases")
  System.Web.Configuration.SqlCacheDependencyDatabaseCollection To be added.

  The property allows you to programmatically access the databases element of the sqlCacheDependency Element for caching (ASP.NET Settings Schema) of the cache section a configuration file.

  Gets the collection of objects stored within the .

  2.0.0.0
- Property
  System.Configuration.ConfigurationElementProperty To be added. To be added. To be added. 2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("enabled", DefaultValue="True")
  System.Boolean To be added.

  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 class monitors the table so that when an item in the table changes the item is automatically removed from the cache.

  For this class to work correctly, the database and any tables on which you want to set dependencies must have notifications enabled. For more information, see the remarks provided for the class.

  Gets or sets a value indicating whether the database tables that have active objects should be monitored for changes. This setting does not affect the row-level objects.

  Gets or sets a value indicating whether the database table should be monitored for changes.

  2.0.0.0
- Property
  System.Configuration.ConfigurationProperty("pollTime", DefaultValue="60000")
  System.Int32 To be added.

  The property defines the time frequency with which ASP.NET polls the database for changes in the table linked to the cached item.

  Note The frequency can be overridden on a database level in the databases element of the sqlCacheDependency in the cache configuration section.

  Gets or sets the frequency with which the polls the database table for changes.

  2.0.0.0
- Method
  System.Void To be added. To be added. 2.0.0.0
- Property
  System.Configuration.ConfigurationPropertyCollection To be added. To be added. To be added. 2.0.0.0