Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes all the 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 DeleteAllMinorVersions
'Usage
Dim instance As SPFileVersionCollection
instance.DeleteAllMinorVersions()
public void DeleteAllMinorVersions()
Remarks
This method clears the file version information from the collection.