Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SqlCacheDependency Property
Collapse the table of content
Expand the table of content

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