I've got some code that loops through webparts on a page looking for an Advanced Search box in order to change some properties. Very simple stuff, essentially:
if (webpart is AdvancedSearchBox) {
do stuff;
}
I have seen this class referenced on blogs in code pertaining to SharePoint 2010 (http://weblogs.asp.net/spano/archive/2012/07/20/customizing-a-sharepoint-2010-search-center.aspx for example), but I can't for the life of me find the class itself. The only official reference I can find refers to 2007 - http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.webcontrols.advancedsearchbox(v=office.12).aspx, and no matter what assemblies I include, Intellisense just does not recognise it.
I hope I'm missing something obvious - does anyone know where this class is, or whether it's deprecated? The web part itself is already in use in our solution, so it definitely exists somewhere. Many thanks in advance!