SPWebService.ApplyWebConfigModifications method
SharePoint 2013
Applies the list of web.config modifications to all Web applications in this Web service across the farm.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The ApplyWebConfigModifications method iterates through all the Web applications installed on a front-end Web server and ensures that the current set of web.config modifications are present within the web.config file.
Note
|
|---|
This method requires that the calling process has administrative permissions to write files to the disk on the server. |
Note