This documentation is archived and is not being maintained.

AccessDataSource.SqlCacheDependency Property

The SqlCacheDependency property overrides the SqlCacheDependency property.

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

[BrowsableAttribute(false)]
public override string SqlCacheDependency { get; set; }
<asp:AccessDataSource SqlCacheDependency="String" />

Property Value

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

ExceptionCondition
NotSupportedException

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, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: