True DataControl 8.0 Reference > True DataControl Control > TData Control Properties > ConnectionTimeout Property |
ConnectionTimeout Property
Amount of time to wait for the connection to open before aborting it.
TData.ConnectionTimeout = long
Read/Write at run time and design time. Property applies to TData control.
This property indicates how long to wait (in seconds) while establishing a connection in data source mode (DataMode = 0 - DataSource) creating SourceRecordset, before terminating the attempt and generating an error. Default is 15 seconds.
This is a standard ADO property. It can be set at any time during the control’s lifetime, but it will take effect only if set at design time, in WillOpenData event or after the Refresh method is called.
Note: At design time, this property is not available in property pages and must be set in the Visual Basic Properties window.
See Also