This documentation is archived and is not being maintained.

SPWebConfigModification.SPWebConfigModificationType Enumeration

Windows SharePoint Services 3

Specifies the type of web.config modification.

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

public enum SPWebConfigModificationType

Member nameDescription
EnsureChildNodeSpecifies that the web.config modification must ensure a child node of the node to which the XPath expression points. Value = 0.
EnsureAttributeSpecifies that the web.config modification must ensure the value of a particular attribute. Value = 1.
EnsureSectionEnsures a singleton node. This node is only written once, even if multiple entities register multiple instances of EnsureSection to ensure a single section. Value = 2.
Show: