This topic has not yet been rated - Rate this topic

SPListItemVersionCollection.DeleteAll Method

Deletes the collection of versions 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 DeleteAll()

The DeleteAll method permanently deletes the version collection. To move the collection into the recycle bin, use the RecycleAll method.

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