SqlCacheDependencyDatabase.ConnectionStringName Property
.NET Framework (current version)
Gets or sets the connection name for the database.
Assembly: System.Web (in System.Web.dll)
[<ConfigurationPropertyAttribute("connectionStringName", IsRequired = true)>] [<StringValidatorAttribute(MinLength = 1)>] member ConnectionStringName : string with get, set
Property Value
Type: System.StringA string that specifies the name of a database connection string within the connectionStrings configuration section.
The 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.
.NET Framework
Available since 2.0
Available since 2.0
Show: