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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntaxpublic bool? Lock { get; set; }Public Property Lock As Boolean?
	Get
	Set
member Lock : Nullable<bool> with get, set
Property Value
Type: 
NullableBoolean
See Also