Visual Basic Reference
 
Visual Basic Reference

CommandTimeout Property

See Also    Example    Applies To

Returns or sets the duration, in seconds, that the provider waits for a command to return from the server.

Syntax

object.CommandTimeout [=number]

Parameters

The CommandTimeout property syntax has these parts:

Part Description
object An object expression that evaluates to an item in the Applies To list.
number Integer. A numeric expression that specifies the number of seconds to wait when establishing a connection. The default is 30 seconds.

Remarks

Once this period of time has elapsed without completing the command, the provider raises an exception to the calling application and cancels the command.

This property corresponds to the ADO Command and Connection CommandTimeout property.

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View