ContentSource.PauseCrawl Method
Pauses an active crawl for the content source.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub PauseCrawl
'Usage
Dim instance As ContentSource
instance.PauseCrawl()
public void PauseCrawl()
Remarks
Before calling the PauseCrawl method, verify that the content source is being crawled by checking the value of the CrawlStatus property for the ContentSource object.
See Also
Reference
Microsoft.Office.Server.Search.Administration Namespace
Microsoft.Office.Server.Search.Administration.Content
Other Resources
Getting Started with the Enterprise Search Administration Object Model
How to: Retrieve the Content Sources for a Shared Services Provider
How to: Delete a Content Source
How to: Programmatically Manage the Crawl of a Content Source
How to: Programmatically Configure a Crawl Schedule for a Content Source