CdbDatabase::SetQueryTimeout, GetQueryTimeout Property

Sets or returns a value that specifies the number of seconds to wait before a timeout error occurs when a query is executed on an ODBC data source.

Syntax

VOIDSetQueryTimeout(SHORT s);

SHORTGetQueryTimeout(VOID);

Set Parameters

Type Example Description
SHORT s An integer specifying the number of seconds before DAO times out. The default value is 60.