This topic has not yet been rated - 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)
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 Additions

ADD
© 2013 Microsoft. All rights reserved.