CDatabase::SetLoginTimeout
void SetLoginTimeout( DWORD dwSeconds );ParametersdwSecondsThe number of seconds to allow before a connection attempt times out.
void SetLoginTimeout( DWORD dwSeconds );ParametersdwSecondsThe number of seconds to allow before a connection attempt times out.
Not all data sources support the ability to specify a login timeout value. If the data source does not support timeout, you get trace output but not an exception
是不是Oracle不支持超时呀????