Share via


SPWebConfigModification members

Holds modifications that are made to the web.config.

The SPWebConfigModification type exposes the following members.

Constructors

  Name Description
Public method SPWebConfigModification() Initializes a new instance of the SPWebConfigModification class.
Public method SPWebConfigModification(String, String) Initializes a new instance of the SPWebConfigModification class based on the specified modification name and node.

Top

Properties

  Name Description
Public property Name Gets or sets the name of the attribute or section node that should be set.
Public property Owner Gets or sets the owner of the web.config modification.
Public property Path Gets or sets the XPath expression that is used to locate the node that is being operated on.
Public property Sequence Gets or sets the sequence number of the modification.
Public property Type Gets or sets the type of modification that is implied by the class.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Value Gets or sets the value of the item to set.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this object. (Overrides Object.GetHashCode().)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPWebConfigModification class

Microsoft.SharePoint.Administration namespace