Export (0) Print
Expand All

ISearchCatalogManager::GetCatalogStatus method

Gets the status of the catalog.

Syntax


HRESULT GetCatalogStatus(
  [out]  CatalogStatus *pStatus,
  [out]  CatalogPausedReason *pPausedReason
);

Parameters

pStatus [out]

Type: CatalogStatus*

Receives a pointer to a value from the CatalogStatus enumeration. If pStatus is CATALOG_STATUS_PAUSED, further information can be obtained from the pPausedReason parameter.

pPausedReason [out]

Type: CatalogPausedReason*

Receives a pointer to a value from the CatalogPausedReason enumeration describing why the catalog is paused. If the catalog status is not CATALOG_STATUS_PAUSED, this parameter receives the value CATALOG_PAUSED_REASON_NONE.

Return value

Type: HRESULT

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

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

IDL

Searchcatalog.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft