Which of the following SPQuery object properties should be set to get results from all the folders in a list?

Question:Which of the following SPQuery object properties should be set to get results from all the folders in a list?

1.SPQuery query = new SPQuery();<br>query.Webs = "&lt;Webs Scope="Recursive" /&gt;";

2.SPQuery query = new SPQuery();<br>query.ViewAttributes = "scope="Recursive""

3.SPQuery query = new SPQuery();<br>query.ViewAttributes = "scope="SiteCollection"";

4.none of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!