Export (0) Print
Expand All

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)

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.

NoteNote

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

Show:
© 2014 Microsoft