Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<remove> Element for connectionManagement (Network Settings)

Removes an IP address or DNS name from the connection management list.

<configuration> Element
  <system.net> Element (Network Settings)
    <connectionManagement> Element (Network Settings)
      <remove> Element for connectionManagement (Network Settings)
   name = "server name or IP address" 

The following sections describe attributes, child elements, and parent elements.





An IP address or DNS name.

Child Elements


Parent Elements




Specifies the maximum number of connections to a network host.

The <remove> element removes the connection management list entry for the specified server.

The value of the address attribute should be a valid IP address or host name.

Configuration Files

This element can be used in the application configuration file or the machine configuration file (Machine.config).

The following code example removes any connection management list entries for the server www.adventure-works.com and then configures an application to use four connections to the server www.contoso.com and two connections to all other servers.

      <remove address = "http://www.adventure-works.com"/>
      <add address = "http://www.contoso.com" maxconnection = "4" />
      <add address = "*" maxconnection = "2" />

Community Additions

© 2015 Microsoft