I want to retrieve only the documents that are present inside a specific folder of a document library using GetListItemsAsync method.
Here is how i call it:
sc.GetListItemsAsync("MyDocLib", null, null, null, null, XElement.Parse(@"<QueryOptions><Folder>MyFolder</Folder></QueryOptions>"), null);
The call is returning all the documents inside "MyDocLib" and not only those that are in "MyFolder".
How can I do that?