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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
 Syntax
Syntaxpublic Nullable<bool> Lock { get; set; }Public Property Lock As Nullable(Of Boolean)
	Get
	Set
member Lock : Nullable<bool> with get, set
Property Value
Type: 
NullableBoolean See Also
See Also