Table of Contents

Method SetSnapshot

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

SetSnapshot()

Sets the $snapshot option.

[Obsolete("Snapshot was deprecated in server version 3.7.4.")]
public virtual MongoCursor<TDocument> SetSnapshot()

Returns

MongoCursor<TDocument>

The cursor (so you can chain method calls to it).