List settings object model for the search RRS feed

  • Question

  • Hello,


    I'm trying to modify the "specify whether this list should be visible in search result..." option of a SPList object, by code. But I can't find this property in the SPList object members.


    Any idea ?

    Thank you


    Thursday, November 29, 2007 11:07 AM

All replies

  • SPList.NoCrawl = true;


    This will remove the list from the search results after the next incremental crawl.


    Thursday, November 29, 2007 3:11 PM