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
argsParallelScanArgs<TDocument>The args.
Returns
- ReadOnlyCollection<IEnumerator<TDocument>>
Multiple enumerators, one for each cursor.
Type Parameters
TDocumentThe 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
documentTypeTypeType of the document.
argsParallelScanArgsThe args.
Returns
- ReadOnlyCollection<IEnumerator>
Multiple enumerators, one for each cursor.