0 out of 1 rated this helpful - Rate this topic

SPWebService.ApplyWebConfigModifications Method

Applies the list of web.config modifications to all Web applications in this Web service across the farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public void ApplyWebConfigModifications()

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 Note

This method requires that the calling process has administrative permissions to write files to the disk on the server.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ