System.Web.Configuration.SqlCacheDependencyDatabaseCollection.Clear Method

Removes all the System.Web.Configuration.SqlCacheDependencyDatabase objects from the collection.

Syntax

public void Clear ()

Remarks

This method inserts a clear directive into the appropriate section of the configuration file to remove all references to elements defined in a higher-level configuration file.

Requirements

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