Close
dtSearch Engine API for .NET Framework 2.x-4.x 2024.01
HttpDataSource::StopCrawl Method

Requests that the spider stop crawling web sites

public void StopCrawl( bool bWaitForCrawlDone );

Because the spider runs on a different thread, it make take some time for the crawl to stop. Call StopCrawl(true) to ensure that the Spider has stopped when StopCrawl returns. StopCrawl(false) will request that the crawl stop and will return immediately.