<clear> Element for connectionManagement (Network Settings)
Clears the connection management list.
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Specifies the maximum number of connections to a network host.
The clear element clears all entries from the connection management list.
This element can be used in the application configuration file or the machine configuration file (Machine.config).
The following code example clears the connection management list and then adds new connection management entries for the server www.contoso.com and all other network hosts.
<configuration> <system.net> <connectionManagement> <clear/> <add address = "http://www.contoso.com" maxconnection = "4" /> <add address = "*" maxconnection = "2" /> </connectionManagement> </system.net> </configuration>