Collapse the table of content
Expand the table of content
Expand Minimize

Web.DeleteObject method

Deletes the website.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public void DeleteObject()

ExceptionCondition
SPException

The current site is the top-level site. Error code: -2146232832.

Show:
© 2016 Microsoft