Export (0) Print
Expand All

AccessDataSource.SqlCacheDependency Property

The SqlCacheDependency property overrides the SqlCacheDependency property.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override string SqlCacheDependency { get; set; }

Property Value

Type: System.String
Throws a NotSupportedException, in all cases.


An attempt was made to get or set the SqlCacheDependency property.

In the base class, SqlDataSource, the SqlCacheDependency property gets or sets a semicolon-delimited string that indicates which databases and tables to use for the Microsoft SQL Server cache dependency. Cache dependency is not supported by Microsoft Access, and any access to the SqlCacheDependency property results in a NotSupportedException exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft