Npgsql Api Docs

NpgsqlConnection.CommandTimeout Property

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

[Visual Basic]
Public ReadOnly Property CommandTimeout As Integer
[C#]
public int CommandTimeout {get;}

Property Value

The time (in seconds) to wait for a command to complete. The default value is 20 seconds.

See Also

NpgsqlConnection Class | Npgsql Namespace