Multiple Source Searches not working RRS feed

  • Question

  • The Sources property doesn't seem to be supported although the sample code at MSDN is using it like so:


    SearchRequest request = new SearchRequest();
            // Common request fields (required)
            request.AppId = AppId;
            request.Query = "microsoft";
            request.Sources = new SourceType[]


    However when I try to instantiate the "request.Sources"  code I get a  "does not contain a definition for 'Sources' error" in Visual Studio. This is after verifying that I'm using the correct URL for the services and after updating my web services reference and getting a new AppID this morning. Previous to version 2.0 tthe SearchRequest.Requests property was how you set the SourceType and that was working fine. Does anyone have any updated code that does multiple source searches, or is there a different .asmx file that we are supposed to be using/ The current doc says that this: http://soap.search.live.com/webservices.asmx is still the correct location.




    Friday, November 14, 2008 9:33 PM