StartCrawlFrom(String, CrawlType) Method

The StartCrawlFrom method of the SearchCatalog class starts a crawl of the specified type on a specified content source.

Parameters

url The start address for the crawl.

crawlType The type of crawl to perform.

Exceptions

Exception Type Condition
System.Exception Invalid crawl type was specified.

Remarks

The StartCrawlFrom method starts a crawl of the specified content source. The crawl type is either a full crawl or an incremental crawl. A full crawl crawls the entire content source. An incremental crawl crawls only items that are new or changed since the last crawl.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security