ISearchManager::SetParameter method (searchapi.h)

Not supported.

This method returns E_INVALIDARG when called.

Syntax

HRESULT SetParameter(
  [in] LPCWSTR           pszName,
  [in] const PROPVARIANT *pValue
);

Parameters

[in] pszName

Type: LPCWSTR

There are currently no valid parameters to pass or retrieve.

[in] pValue

Type: PROPVARIANT*

As there are no valid parameters currently configured, there are no valid parameters to pass to this method.

Return value

Type: HRESULT

This method returns E_InvalidArg as an error code when called.

Remarks

Check out the ReindexMatchingUrls code sample to see ways to specify which files to re-index and how set it up.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h (include Searchapi.h)
Redistributable Windows Desktop Search (WDS) 3.0