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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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