Click here to Skip to main content
15,914,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can we perform a sharepoint 2010 Foundation search programatically?i.e. I wanna search the whole sharepoint site for a (suppose) hard coded string through coding and get the results. When I'll be running the code it will access the sharepoint foundation search engine and show me the search results.Please help me out...

Please remember i dont have dll "Microsoft.SharePoint.Search.Query" in foundation. It is available in Sharepoint Enterprise hence "http://stackoverflow.com/questions/2624798/using-the-search-api-with-sharepoint-foundation-2010-0-results" code will not work for me.
Posted

1 solution

You can use
VB
Microsoft.Office.Server.Search.Query Namespace


Check here for more info Microsoft.Office.Server.Search.Query[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900