Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWebConfigModification.SPWebConfigModificationType enumeration

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 the existence of a child node of the node to which the XPath expression points. Value = 0.
EnsureAttributeSpecifies that the web.config modification must ensure that there is a value for 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 the existence of a section. Value = 2.
© 2015 Microsoft