Options for JetGetLock.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration GetLockGrbit
'Usage
Dim instance As GetLockGrbit
[FlagsAttribute]
public enum GetLockGrbit
Members
<table> <thead> <tr class="header"> <th></th> <th>Member name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td></td> <td>Read</td> <td>Acquire a read lock on the current record. Read locks are incompatible with write locks already held by other sessions but are compatible with read locks held by other sessions.</td> </tr> <tr class="even"> <td></td> <td>Write</td> <td>Acquire a write lock on the current record. Write locks are not compatible with write or read locks held by other sessions but are compatible with read locks held by the same session.</td> </tr> </tbody> </table>
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
