CDaoQueryDef::GetODBCTimeout

short GetODBCTimeout( );
throw( CDaoException, CMemoryException );

Return Value

The number of seconds before a query times out.

Remarks

Call this member function to retrieve the current time limit before a query to an ODBC data source times out. For information about this time limit, see the topic "ODBCTimeout Property" in DAO Help.

Tip   The preferred way to work with ODBC tables is to attach them to a Microsoft Jet (.MDB) database. For more information, see the topic "Accessing External Databases with DAO" in DAO Help and the article DAO External: Working with External Data Sources in Visual C++ Programmer's Guide.

For information about querydefs, see the article DAO Querydef in Visual C++ Programmer's Guide.

CDaoQueryDef OverviewClass MembersHierarchy Chart

See Also   CDaoQueryDef::SetODBCTimeout, CDaoQueryDef::GetName, CDaoQueryDef::GetSQL, CDaoQueryDef::GetReturnsRecords