Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a named database connection string.
Syntax
class ConnectionStringSettings : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the ConnectionStringSettings class.
| Name | Description | 
|---|---|
| ConnectionString | A required read/write string value that specifies a database connection string. .gif) Note: 
The value can be an empty string (""). IIS does not verify the validity of the connection string.
 | 
| Name | A required unique read/write string value that specifies the name of the database connection string. This key attribute overrides any inherited value with the same name. The key property. | 
| ProviderName | An optional read/write string value that specifies the name of the ADO.NET provider to use to access a data store. The default is "System.Data.SqlClient". | 
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the ConnectionStrings property of the ConnectionStringsSection class.
Inheritance Hierarchy
ConnectionStringSettings
Requirements
| Type | Description | 
|---|---|
| Client | Requires IIS 7 on Windows Vista. | 
| Server | Requires IIS 7 on Windows Server 2008. | 
| Product | IIS 7 | 
| MOF file | WebAdministration.mof |