 | QueryOptionsTimeout Method |
Sets the maximum time to spend on the request.
Namespace:
Couchbase.Query
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntaxpublic QueryOptions Timeout(
TimeSpan timeOut
)
Parameters
- timeOut
- Type: SystemTimeSpan
Maximum time to spend on the request
Return Value
Type:
QueryOptions
A reference to the current
QueryOptions for method chaining.
Remarks
Optional - the default is 0ms, which means the request runs for as long as it takes.
See Also