CommandTimeout property

Description

The wait time in seconds before terminating an attempt to execute a command and generating an error.

Syntax

int CommandTimeout

Access

Read-write

Implements

IDbCommand.CommandTimeout

Default

30 seconds

Usage

A value of 0 indicates no limit. This should be avoided because it can cause the attempt to execute a command to wait indefinitely.