CdbDBEngine::SetLoginTimeout, GetLoginTimeout Property

Sets or returns the number of seconds before an error occurs when you attempt to log in to an ODBC database.

Settings and Return Values

The setting or return value is an integer representing the number of seconds before a login timeout error occurs. The default LoginTimeout property setting is 20 seconds. When the LoginTimeout property is set to 0, no timeout occurs.

Syntax

VOIDSetLoginTimeout(SHORT s);

SHORTGetLoginTimeout(VOID);

Set Parameters

Type Example Description
SHORT s A short integer containing the number of seconds before a login timeout error occurs.