ISearchCatalogManager::SetParameter method (searchapi.h)

Sets a name/value parameter for the catalog.

Syntax

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

Parameters

[in] pszName

Type: LPCWSTR

The name of the parameter to change.

[in] pValue

Type: PROPVARIANT*

A pointer to the new value for the parameter.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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
Redistributable Windows Desktop Search (WDS) 3.0