Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Command CommandTimeout Property
Connection Object
PROPERTY: Connection::CommandTimeout
long =
connectionobject.
CommandTimeout
connectionobject.
CommandTimeout
= long
The
CommandTimeout
property defines how many seconds to wait before cancelling an
Execute
method call and generating an error. The default is thirty seconds. If you set
CommandTimeout
equal to zero seconds, the program will wait indefinitely or until the
Execute
is completed.
The
Command
object has a similar property, but the two properties do not inherit from each other.
Code (VBScript):
objConnection.
CommandTimeout
= 0
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information