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.