SPListItemVersionCollection.RecycleAll Method
Recycles the version collection except for the current version.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.