Indicates how long to wait while executing a command before terminating the attempt and generating an error.
Sets or returns a Long value that indicates, in seconds, how long to wait for a command to execute. Default is 30.
Use the CommandTimeout property on a Connection object or Command object to allow the cancellation of a command due to delays from network traffic or heavy server use. If the time from the CommandTimeout property setting elapses prior to execution of the command, an error occurs and ADO cancels the command. If you set the property to zero, ADO will wait indefinitely until the execution is complete. Make sure the provider and data source to which you are writing code supports the CommandTimeout functionality.
For Connection objects, the CommandTimeout property is read/write.
When you use CommandTimeout on a Connection object, you set a global value for all commands executed and all recordsets opened on that connection. You can override this value for a specific command by setting the CommandTimeout property of the appropriate Command object.
file: /Techref/language/asp/comp/daprop02_2.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/12/27 21:47,
3.145.109.231:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/asp/comp/daprop02_2.htm"> CommandTimeout Property (ADO)</A> |
Did you find what you needed? |