Share via


PublishingWeb.Delete Method

Include Protected Members
Include Inherited Members

Deletes the current PublishingWeb and its underlying SPWeb object.

Overload List

  Name Description
Public method Delete() Deletes the current PublishingWeb object.
Public method Delete(Boolean) Deletes the current PublishingWeb instance and potentially all sites in the subtree with a node in this PublishingWeb.

Top

Remarks

After calling this method, you should call the Update method to save changes.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace

Delete

Delete