Gets or sets a value indicating whether the server should take a global write lock when executing the JavaScript code.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public bool? Lock { get; set; }
Public Property Lock As Boolean?
Get
Set
member Lock : Nullable<bool> with get, set
Property Value
Type:
NullableBooleanSee Also