This topic has not yet been rated - Rate this topic

SPFile.RevertContentStream method

Returns the file to its original state so that its logic becomes cached in memory (or "ghosted") rather than stored in the database.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void RevertContentStream()
ExceptionCondition
SPException

The value of the CustomizedPageStatus property is None.

SPException

An error occurred while performing the revert operation.

This method throws an exception if the value of the CustomizedPageStatus property is None.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.