System.Web.Configuration.SqlCacheDependencyDatabaseCollection.Set Method

Resets a specified System.Web.Configuration.SqlCacheDependencyDatabase object that exists within the collection.

Syntax

public void Set (SqlCacheDependencyDatabase user)

Parameters

user
The System.Web.Configuration.SqlCacheDependencyDatabase element to reset.

Remarks

The Set method modifies an existing System.Web.Configuration.SqlCacheDependencyDatabaseCollection element.

A System.Configuration.ConfigurationException is thrown if the element already exists or is read-only.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0