ISearchRoot::get_AuthenticationType Method

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

Syntax

HRESULT get_AuthenticationType(      
    AUTH_TYPE *pAuthType
);

Parameters

  • pAuthType
    [out] A pointer to a value from the AUTH_TYPE enumeration that indicates the authentication type required to access URLs under this search root.

Return Value

Returns S_OK if successful, or an error value otherwise.

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.