Multiple choice technology

To modify the settings in a Web.Config file with SharePoint Object Model which class needs to be used:

  1. SPWebConfig

  2. There are no class for this purpose and we need to do manually

  3. SPWebConfigModify

  4. SPWebConfigModification

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

SPWebConfigModification is the correct SharePoint API class for programmatically modifying web.config files through the SharePoint object model. It provides safe, tracked modifications without manual file editing.