SPWebApplication.WebConfigModifications property

Gets a collection of web.config modifications that are applied across all servers for the Web application. If the front end of the Web application is not located on the SQL server with the back end, the web.config modifications are applied only to the front end of the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public ReadOnly Property WebConfigModifications As Collection(Of SPWebConfigModification)
	Get
'Usage
Dim instance As SPWebApplication
Dim value As Collection(Of SPWebConfigModification)

value = instance.WebConfigModifications

Property value

Type: System.Collections.ObjectModel.Collection<SPWebConfigModification>
A collection of SPWebConfigModification objects that represent the web.config modifications.

Note that SPWebConfigModification objects that are added to the collection may not be applied until the ApplyWebConfigModifications() method is called in the parent SPWebApplication object.

Show: