SqlCacheDependencyDatabaseCollection.Set Method (SqlCacheDependencyDatabase)
.NET Framework (current version)
Resets a specified SqlCacheDependencyDatabase object that exists within the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- user
-
Type:
System.Web.Configuration.SqlCacheDependencyDatabase
The SqlCacheDependencyDatabase element to reset.
| Exception | Condition |
|---|---|
| ConfigurationException | The OutputCacheProfileCollection is read-only or already exists. |
The Set method modifies an existing SqlCacheDependencyDatabaseCollection element.
A ConfigurationException is thrown if the element already exists or is read-only.
.NET Framework
Available since 2.0
Available since 2.0
Show: