Share via


ISearchRoot::put_AuthenticationType Method

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

Syntax

HRESULT put_AuthenticationType(      
    AUTH_TYPE authType
);

Parameters

  • authType
    [in] A value from the AUTH_TYPE enumeration that indicates the authentication type.

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.