SqliteCommand.CommandTimeout Property

Definition

Gets or sets the number of seconds to wait before terminating the attempt to execute the command. Defaults to 30. A value of 0 means no timeout.

public override int CommandTimeout { get; set; }
member this.CommandTimeout : int with get, set
Public Overrides Property CommandTimeout As Integer

Property Value

The number of seconds to wait before terminating the attempt to execute the command.

Remarks

The timeout is used when the command is waiting to obtain a lock on the table.

Applies to