LastCrawlStartTime Property

The LastCrawlStartTime property of the SearchCatalog class gets the start time of the last completed crawl. Crawl times are updated after any successful crawl.

Property Value

System.DateTime specifies the start time of the last completed crawl.

Exceptions

Exception type Condition
System.InvalidCastException The catalog has never been crawled.

Remarks

If the catalog has never been crawled, accessing the LastCrawlStartTime property might cause a System.InvalidCastException to be thrown. Even if an exception is not thrown, the LastCrawlStartTime property returns 12/30/1899 12:00:00 AM as the Date/Time.

Requirements

Platforms: Microsoft Windows ServerĀ 2003

Security: Code Access Security