System.Web.Configuration.SqlCacheDependencyDatabase.ConnectionStringName Property

Gets or sets the connection name for the database.

Syntax

[System.Configuration.ConfigurationProperty("connectionStringName", Options=System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string ConnectionStringName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SqlCacheDependencyDatabase.ConnectionStringName property allows you to programmatically access and modify the connectionName attribute of an add element of the databases node in a configuration file. The connection name identifies an element in the connectionStrings section which contains the database connection string.

Requirements

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