SPWeb.RevertAllDocumentContentStreams Method
Restores all files within the website to their original, uncustomized state so that their logic becomes cached in memory (also known as "ghosted") rather than stored within the database.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
| Exception | Condition |
|---|---|
| SPException |
One or more files cannot be restored. |