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