Recycle SharePoint File Version using CSOM

Demonstration of how to recycle the file version from the library in SharePoint using Client Side Object Model

SharePoint team from Microsoft released a Aug’17 version of CSOM version 16.1.6802.1200. This new version is available from Nuget Package in the name of “Microsoft.SharePointOnline.CSOM”.

I have added a video here, which contains the demonstration one of the feature called “Recyle Fileversion” by using the below methods,

  • public method SharePoint.Client.FileVersionCollection.RecycleByID
  • public methodSharePoint.Client.FileVersionCollection.RecycleByLabel

Stay tune to get more information on latest updates from SharePoint / Office 365

Shantha Kumar
Shantha Kumar
Articles: 280