SPWeb.RevertAllDocumentContentStreams 方法
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.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub RevertAllDocumentContentStreams
用法
Dim instance As SPWeb
instance.RevertAllDocumentContentStreams()
public void RevertAllDocumentContentStreams()
异常
异常 | 条件 |
---|---|
SPException | One or more files cannot be restored. |
备注
If a file cannot be restored, the method continues to attempt to restore the remaining files and throws one exception after processing all of the files.