SqlCacheDependencyDatabaseCollection.Add Method (SqlCacheDependencyDatabase)
.NET Framework (current version)
Adds a SqlCacheDependencyDatabase object to the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.Web.Configuration.SqlCacheDependencyDatabase
The name of the SqlCacheDependencyDatabase object to add to the collection.
| Exception | Condition |
|---|---|
| ConfigurationException | The SqlCacheDependencyDatabase object already exists in the collection or the collection is read only. |
Each SqlCacheDependencyDatabase in the collection must have a unique name.
.NET Framework
Available since 2.0
Available since 2.0
Show: