Method SetMaxScan
SetMaxScan(int)
Sets the maximum number of documents to scan.
[Obsolete("MaxScan was deprecated in server version 4.0.")]
public virtual MongoCursor SetMaxScan(int maxScan)
Parameters
maxScan
intThe maximum number of documents to scan.
Returns
- MongoCursor
The cursor (so you can chain method calls to it).