Specifies the number of seconds the interface should wait for a connection to the data provider to complete.
ADO.NET
OLE DB
SNC SQL Native Client for Microsoft SQL Server
TimeOut=value
Parameter |
Description |
---|---|
value |
The number of seconds the interface waits for a connection to complete. |
None
The default value for the TimeOut parameter is driver-specific.
To set the TimeOut value to wait 10 seconds for a connection to complete:
Database
profile Type 10
in the Timeout
box on the System page in the Database Profile Setup dialog box.
Application Type the following in code:
SQLCA.DBParm="TimeOut=10"