Set the query timeout for ADO sources. This is not applicable to DAO/ODBC. Note that this applies to the return time of the specific query, not the connection in general.
The timeout in seconds
dbc.SetCommandTimeout 300
' five minutes