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 */
public String get_SqlCacheDependency ()

/** @property */
public void set_SqlCacheDependency (String value)

public override function get SqlCacheDependency () : String

public override function set SqlCacheDependency (value : String)

Not applicable.

Property Value

Throws a NotSupportedException, in all cases.

Exception typeCondition

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft