PublishingWeb.Delete method

Deletes the current PublishingWeb object.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As PublishingWeb

instance.Delete()
public void Delete()

Remarks

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

See also

Reference

PublishingWeb class

PublishingWeb members

Delete overload

Microsoft.SharePoint.Publishing namespace