ISearchManager::get_PortNumber Method

Retrieves the port number used to communicate to 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]  Returns a pointer to the port number.

Return Value

Returns S_OK if successful, or an error value otherwise.