Share via


ISearchCatalogManager::put_ConnectTimeout Method

Sets the connection time-out value in the TIMEOUT_INFO structure, in seconds.

Syntax

HRESULT put_ConnectTimeout(      
    DWORD dwConnectTimeout
);

Parameters

  • dwConnectTimeout
    [in] The number of seconds to wait for a connection response.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The indexer expects the first chunk of the document to be received within the connection time-out interval and any subsequent chunks to be received within the data time-out interval. These time-out values help prevent filters and protocol handlers from failing or causing performance issues.