SetQueryTimeout 

Syntax:             BOOL SetQueryTimeout (long nTimeout);

Return Value:    TRUE if a timeout value of a query is successfully set, otherwise FALSE.

Parameter:        nTimeout   Value of query timeout in seconds.

Remarks:

Call this method to set the value of timeout for queries executed in  ELS-QB component.

Note:  by default query timeout value in  ELS-QB component is 30.

Example:

This sample code shows how to allow end user to change ELS-QB componentís query timeout.

void CELS_QBDemoView::ChangeQueryTimeout(long nTimeout)

{

      if(m_QBCtrl.GetQueryTimeout() != nTimeout)

m_QBCtrl.SetQueryTimeout(nTimeout);

}