AccessDataSource.SqlCacheDependency Property

Note: This property is new in the .NET Framework version 2.0.

The SqlCacheDependency property overrides the SqlCacheDependency property.

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

public:
virtual property String^ SqlCacheDependency {
	String^ get () override;
	void set (String^ value) override;
}
/** @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)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: