Method SetMaxTime
SetMaxTime(TimeSpan)
Sets the maximum time the server should spend on this query.
public virtual MongoCursor SetMaxTime(TimeSpan maxTime)
Parameters
maxTime
TimeSpanThe max time.
Returns
- MongoCursor
The cursor (so you can chain method calls to it).