ISearchManager::get_PortNumber Method
Retrieves the port number used to communicate with the proxy server. This port number is stored in the indexer and is set by the ISearchManager::SetProxy method.
Syntax
HRESULT get_PortNumber( DWORD *pdwPortNumber );
Parameters
- pdwPortNumber
[out, retval] Receives a pointer to the port number.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The ReindexMatchingUrls code sample, available on Code Gallery and the Windows 7 SDK, demonstrates ways to specify which files to re-index and how.