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

PublishingWeb.Delete method

Deletes the current PublishingWeb and its underlying SPWeb object.

  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

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

Show:
© 2015 Microsoft