SqlCacheDependencyDatabaseCollection.Set Method (SqlCacheDependencyDatabase)

 

Resets a specified SqlCacheDependencyDatabase object that exists within the collection.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

member Set : 
        user:SqlCacheDependencyDatabase -> unit

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.

The following code example shows how to use the Set method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: