ISearchRoot

ISearchRoot interface

Provides methods for manipulating a search root. Changes to property members are applied to any URL that falls under the search root. A URL falls under a search root if it matches the search root URL or is a hierarchical child of that URL.

Members

The ISearchRoot interface inherits from the IUnknown interface. ISearchRoot also has these types of members:

Methods

The ISearchRoot interface has these methods.

MethodDescription
get_AuthenticationType

Retrieves the type of authentication needed to access the URLs under this this search root.

get_EnumerationDepth

Gets the enumeration depth for this search root.

get_FollowDirectories

Gets a BOOL value that indicates whether the search engine follows subdirectories and hierarchical scopes.

get_HostDepth

Gets a value that indicates how far into a host tree to crawl when indexing.

get_IsHierarchical

Gets a value that indicates whether the search is rooted on a hierarchical tree structure.

get_Password

Not implemented.

get_ProvidesNotifications

Gets a value that indicates whether the search engine is notified (by protocol handlers or other applications) about changes to the URLs under the search root.

get_RootURL

Gets the URL of the starting point for this search root.

get_Schedule

Not implemented.

get_UseNotificationsOnly

Gets a value that indicates whether this search root should be indexed only by notification and not crawled.

get_User

Not implemented.

put_AuthenticationType

Sets the type of authentication required to access the URLs under this search root.

put_EnumerationDepth

Sets the enumeration depth for this search root.

put_FollowDirectories

Sets a BOOL value that indicates whether the search engine should follow subdirectories and hierarchical scopes for this search root.

put_HostDepth

Sets a value that indicates how far into a host tree to crawl when indexing.

put_IsHierarchical

Sets a value that indicates whether the search is rooted on a hierarchical tree structure.

put_Password

Not implemented.

put_ProvidesNotifications

Sets a value that indicates whether the search engine is notified (by protocol handlers or other applications) about changes to the URLs under the search root.

put_RootURL

Sets the URL of the current search root.

put_Schedule

Not implemented.

put_User

Not implemented.

set_UseNotificationsOnly

Sets a value that indicates whether this search root should be indexed only by notification and not crawled.

 

Remarks

The CrawlScopeCommandLine code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

See also

Using the Crawl Scope Manager

 

 

Community Additions

ADD
Show:
© 2016 Microsoft