Gets or sets the maximum allowable size, in bytes, for keys in the index. The minimum supported maximum key size is JET_cbKeyMostMin (255) which is the legacy maximum key size. The maximum key size is dependent on the database page size DatabasePageSize. The maximum key size can be retrieved with KeyMost. This parameter is ignored on Windows XP and Windows Server 2003. Unlike the unmanaged API, IndexKeyMost() (JET_bitIndexKeyMost) is not needed, it will be added automatically.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Property cbKeyMost As Integer
Get
Set
'Usage
Dim instance As JET_INDEXCREATE
Dim value As Integer
value = instance.cbKeyMost
instance.cbKeyMost = value
public int cbKeyMost { get; set; }
Property value
Type: System.Int32
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.
