Method ParallelScanAs
ParallelScanAs<TDocument>(ParallelScanArgs<TDocument>)
Scans an entire collection in parallel using multiple cursors.
[Obsolete("ParallelScanAs was deprecated in server version 4.1.")]
public ReadOnlyCollection<IEnumerator<TDocument>> ParallelScanAs<TDocument>(ParallelScanArgs<TDocument> args)
Parameters
args
ParallelScanArgs<TDocument>The args.
Returns
- ReadOnlyCollection<IEnumerator<TDocument>>
Multiple enumerators, one for each cursor.
Type Parameters
TDocument
The type of the document.
ParallelScanAs(Type, ParallelScanArgs)
Scans an entire collection in parallel using multiple cursors.
[Obsolete("ParallelScanAs was deprecated in server version 4.1.")]
public ReadOnlyCollection<IEnumerator> ParallelScanAs(Type documentType, ParallelScanArgs args)
Parameters
documentType
TypeType of the document.
args
ParallelScanArgsThe args.
Returns
- ReadOnlyCollection<IEnumerator>
Multiple enumerators, one for each cursor.