SPListItemVersionCollection.RecycleAll Method
Recycles the version collection except for the current version.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Sub RecycleAll
Dim instance As SPListItemVersionCollection
instance.RecycleAll()
public void RecycleAll()
Remarks
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.
See Also
Reference
SPListItemVersionCollection Class