Condividi tramite


SPWebConfigModification.SPWebConfigModificationType enumeration

Specifies the type of web.config modification.

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

Syntax

'Declaration
Public Enumeration SPWebConfigModificationType
'Usage
Dim instance As SPWebConfigModification.SPWebConfigModificationType
public enum SPWebConfigModificationType

Members

Member name Description
EnsureChildNode Specifies that the web.config modification must ensure the existence of a child node of the node to which the XPath expression points. Value = 0.
EnsureAttribute Specifies that the web.config modification must ensure that there is a value for 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 the existence of a section. Value = 2.

See also

Reference

Microsoft.SharePoint.Administration namespace