SearchCatalog Class
The SearchCatalog class implements functions for managing Microsoft Office SharePoint Portal Server 2003 search.
System.Object
Microsoft.SharePoint.Portal.Admin.Search.SearchCatalog
Public Methods
The following table shows the SearchCatalog class methods and provides a brief description of each.
Name | Description |
---|---|
AddContentSource(String, String, Int32, Int32, Boolean, String, String) | Adds the specified content source to the current portal site. |
AddExcludedPath(String) | Excludes the specified URL and all its subfolders from the gatherer's crawl list. |
AddFileType(String) | Adds the specified file type to the list of file types that are indexed in a search catalog. |
ChangeUserPassword(String, String) | Changes the password for the specified user name. |
ForcePropagation | Forces propagation. |
RemoveAllFileTypes | Removes all indexed file types from a search catalog. |
RemoveContentSource(String) | Removes the specified content source from the current portal site. |
RemoveExcludedPath(String) | Removes the specified URL from the excluded paths list. |
StartCrawl(CrawlType) | Starts a crawl of the specified type on the current content source. |
StartCrawlFrom(String, CrawlType) | Starts a crawl of the specified type on a specified content source. |
StopCrawl | Stops a crawl that is already in progress. |
StopPropagation | Stops propagation. |
Public Properties
The following table shows the properties of the SearchCatalog class, the data type of each property, and a brief description of each.
Name | Data type | Description |
---|---|---|
AutoPropagate | Boolean | Gets or sets a value indicating whether indexes are automatically propagated. |
LastCrawlEndTime | Gets the finish time of the last completed crawl. Crawl times are updated after any successful crawl. | |
LastCrawlStartTime | Gets the start time of the last completed crawl. Crawl times are updated after any successful crawl. | |
ContentSources | System.Collections.IEnumerable | Gets a collection of SearchContentSource objects. |
Name | String | Gets the catalog name. |
Site | String | Gets the site name. |
Status | Microsoft.SharePoint.Portal.Admin.Search.SearchCatalog/StatusType | Gets the status of the catalog. |
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Remarks
You must be logged on as an administrator or a member of the SharePoint administrators group to use the methods and properties of this class.
Requirements
Namespace: Microsoft.SharePoint.Portal.Admin.Search
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal.Admin.Search (in Microsoft.SharePoint.Portal.Admin.Search.dll)
Security: Code Access Security