I need to programmatically (C#) get list of documents that fall under Preserve (i.e., under some eDiscovery Set in eDiscovery Center).
I looked into Microsoft.Office.Server.Discovery namespace but, looks like it does not allow to get list of documents from eDiscovery Sets (SourceGroup class). It allows to only get count of documents and their common size.
SPWeb web = ... Case cs = new Case(web); SourceGroup sg = cs.SourceGroups; var sg = cs.SourceGroups; Console.WriteLine("Common size, MB:" + sg.Size); Console.WriteLine("Documents count:" + sg.Items);
Can you please help me out with this? Is there any way to get list of documents that fall under Preserve (eDiscovery Set)?
- Edited by Alex Schukin 3 hours 43 minutes ago