16

What is the use of the <clear/> in the web.config file?

I have it under connectionStrings:

<connectionStrings>
        <clear />
  </connectionStrings>
PhilPursglove
  • 12,511
  • 5
  • 46
  • 68
Aharon Muallem
  • 1,143
  • 3
  • 13
  • 20

1 Answers1

15

It clears all inherited keys, that's it.

Here is the MSDN Article: http://msdn.microsoft.com/en-us/library/aa903345(v=vs.71).aspx

angus
  • 690
  • 10
  • 26
Jahan Zinedine
  • 14,616
  • 5
  • 46
  • 70