次の方法で共有


SPListItemVersionCollection.RecycleAll method

Recycles the version collection except for the current version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub RecycleAll
'Usage
Dim instance As SPListItemVersionCollection

instance.RecycleAll()
public void RecycleAll()

Remarks

This RecycleAll method moves the version collection into the recycle bin of the website except for the current version. To delete the version collection permanently, use the DeleteAll method.

See also

Reference

SPListItemVersionCollection class

SPListItemVersionCollection members

Microsoft.SharePoint namespace