IQueryRequest.Timeout Method Couchbase .NET SDK 2.0
Sets the maximum time to spend on the request.

Namespace: Couchbase.N1QL
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IQueryRequest Timeout(
	TimeSpan timeOut
)

Parameters

timeOut
Type: System.TimeSpan
Maximum time to spend on the request

Return Value

Type: IQueryRequest
A reference to the current IQueryRequest for method chaining.
Remarks
Optional - the default is 0ms, which means the request runs for as long as it takes.
Remarks
There is also a server wide timeout parameter, and the minimum of that and the request timeout is what gets applied.
See Also