Search code examples
sharepointsharepoint-2007

Programmatically access a SharePoint document library?


How would I programmatically access a SharePoint document library from another machine? I want to recursively scan all the folders and generate a list of files with a certain custom property.


Solution

  • You'll need to use the List Data Retrieval web service. Example code using the service can be found on the Query method page.