Interviews2 answers
How can you force SPQuery to return results from all the folders of the list?
2 Answers
By setting scope of ViewAttributes to RecursiveAll
Aakash MauryaPosted Apr 4, 2018, 8:53 AM EDT
If you want to get results from all the folders in the list.. then you need to specify the scope of the query
by the use of ViewAttributes.
e.g. query.ViewAttributes = "Scope=\"Recursive\"";
Sagar PardeshiPosted May 16, 2014, 6:31 AM EDT

