System.Web.Configuration.SqlCacheDependencyDatabaseCollection: Method Members

The methods of System.Web.Configuration.SqlCacheDependencyDatabaseCollection are listed below. For a list of all members, see the SqlCacheDependencyDatabaseCollection Members list.

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

Public Methods

Add(SqlCacheDependencyDatabase)

Adds a System.Web.Configuration.SqlCacheDependencyDatabase object to the collection.

Clear()

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

Get(int) : SqlCacheDependencyDatabase

Returns the System.Web.Configuration.SqlCacheDependencyDatabaseCollection element at the specified index.

Get(string) : SqlCacheDependencyDatabase

Returns the System.Web.Configuration.SqlCacheDependencyDatabaseCollection element with the specified name.

GetKey(int) : string

Returns the key for the element located at the specified index in the System.Web.Configuration.SqlCacheDependencyDatabaseCollection.

Remove(string)

Removes the System.Web.Configuration.SqlCacheDependencyDatabaseCollection object with the specified name from the collection.

RemoveAt(int)

Removes the System.Web.Configuration.SqlCacheDependencyDatabaseCollection object at the specified index from the collection.

Set(SqlCacheDependencyDatabase)

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

Protected Methods