Article ID: 195489 - Last Review: July 6, 2006 - Revision: 2.3 CommandTimeout does not inherit from Connection timeoutThis article was previously published under Q195489 On This PageSYMPTOMS
If a Connection's CommandTimeout property is set to some value and a
Command object is associated to that Connection, the Command object does
not pickup the Connection's CommandTimeout setting. Instead, the Command
object's CommandTimeout is set to its default setting or whatever it was
set to prior to being associated with the Connection.
CAUSE
ActiveX Data Objects (ADO) does not practice inheritance. Due to the stand
alone capability of its objects, a Command object can be associated with
more than one Connection object. The one exception is the CursorLocation
property.
RESOLUTION
Specifically set the Command object's CommandTimeout.
STATUS
This behavior is by design. MORE INFORMATIONSteps to reproduce the behavior
APPLIES TO
| Article Translations
|
Back to the top
