Share via


SPWebConfigModification.SPWebConfigModificationType Enumeration

Specifies the type of web.config modification.

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

Syntax

Public Enumeration SPWebConfigModificationType

Dim instance As SPWebConfigModification.SPWebConfigModificationType
public enum SPWebConfigModificationType

Members

Member name Description
EnsureChildNode Specifies that the web.config modification must ensure a child node of the node to which the XPath expression points. Value = 0.
EnsureAttribute Specifies that the web.config modification must ensure the value of a particular attribute. Value = 1.
EnsureSection Ensures 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.

See Also

Reference

Microsoft.SharePoint.Administration Namespace