MSSQLServerDatabase.Timeout

From Xojo Documentation

Revision as of 20:16, 29 March 2013 by PLefebvre (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Integer )
aMSSQLServerDatabase.Timeout = newIntegerValue
or
IntegerValue = aMSSQLServerDatabase.Timeout

Supported for all project types and targets.

The connection timeout value (in seconds). The default is 30.

Example

Sets the timeout to 60 seconds:

// db is a MSSQLServerDatabase
db.Timeout = 60