<add> Element for connectionManagement (Network Settings)
Adds an IP address or DNS name to the connection management list.
The following sections describe attributes, child elements, and parent elements.
A regular expression describing an IP address or DNS name.
The maximum number of connections allowed to a server. If not supplied, the default is 2.
Specifies the maximum number of connections to a network host.
The value of the address attribute should be a valid regular expression, or an asterisk to indicate the default number of connections to unspecified servers.
For more information about regular expressions, see.
The following code example configures an application to use four connections to the server www.contoso.com and two connections to all other servers.
<configuration> <system.net> <connectionManagement> <add address = "http://www.contoso.com" maxconnection = "4" /> <add address = "*" maxconnection = "2" /> </connectionManagement> </system.net> </configuration>