CommandTimeout

CommandTimeout Property

Gets or sets the wait time before terminating the attempt to execute a command and generating an error.

Remarks

The time (in seconds) to wait for the command to execute. The default value is 30 seconds.

Example

The follwoing example set the command timeout to 45 seconds.

[C#]

 

de.CommandTimeout=45;

 

[Visual Basic]

 

de.CommandTimeout=45