共用方式為


SPFileVersionCollection.RecycleAllMinorVersions Method

Recycles all minor file version objects in the collection.

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

Syntax

'Declaration
Public Sub RecycleAllMinorVersions
'Usage
Dim instance As SPFileVersionCollection

instance.RecycleAllMinorVersions()
public void RecycleAllMinorVersions()

See Also

Reference

SPFileVersionCollection Class

SPFileVersionCollection Members

Microsoft.SharePoint Namespace