Npgsql Api Docs |

# NpgsqlCommand.CommandTimeout Property

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

[Visual Basic]
Overrides Public Property CommandTimeout As Integer _
Implements IDbCommand.CommandTimeout
[C#]
public override int CommandTimeout {get; set;}

#### Property Value

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

#### Implements

IDbCommand.CommandTimeout

#### See Also

NpgsqlCommand Class | Npgsql Namespace