AccessDataSource.SqlCacheDependency Property

Definition

The SqlCacheDependency property overrides the SqlCacheDependency property.

public:
 virtual property System::String ^ SqlCacheDependency { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public override string SqlCacheDependency { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SqlCacheDependency : string with get, set
Public Overrides Property SqlCacheDependency As String

Property Value

Throws a NotSupportedException, in all cases.

Attributes

Exceptions

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

Remarks

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.

Applies to

See also