This topic has not yet been rated - Rate this topic

SPListItemVersionCollection.RecycleAll Method

Recycles the version collection except for the current version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public void RecycleAll()

The RecycleAll method moves the version collection into the recycle bin of the Web site. To delete the version collection permanently, use the DeleteAll method.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ