//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop { using System; using Win7 = Microsoft.Isam.Esent.Interop.Windows7; using Win8 = Microsoft.Isam.Esent.Interop.Windows8; /// /// Info levels for retrieve index information with JetGetIndexInfo. /// and JetGetTableIndexInfo. /// /// /// public enum JET_IdxInfo { /// /// Returns a structure with information about the index. /// Default = 0, /// /// Returns a structure with information about the index. /// List = 1, /// /// SysTabCursor is obsolete. /// [Obsolete("This value is not used, and is provided for completeness to match the published header in the SDK.")] SysTabCursor = 2, /// /// OLC is obsolete. /// [Obsolete("This value is not used, and is provided for completeness to match the published header in the SDK.")] OLC = 3, /// /// Reset OLC is obsolete. /// [Obsolete("This value is not used, and is provided for completeness to match the published header in the SDK.")] ResetOLC = 4, /// /// Returns an integer with the space usage of the index. /// SpaceAlloc = 5, /// /// Returns an integer with the LCID of the index. /// LCID = 6, /// /// Langid is obsolete. Use instead. /// [Obsolete("Use JET_IdxInfo.LCID")] Langid = 6, /// /// Returns an integer with the count of indexes in the table. /// Count = 7, /// /// Returns a ushort with the value of cbVarSegMac the index was created with. /// VarSegMac = 8, /// /// Returns a identifying the index. /// IndexId = 9, /// /// Introduced in Windows Vista. Returns a ushort with the value of cbKeyMost the /// index was created with. /// KeyMost = 10, } }