JET_INDEXID Structure

Windows

Last modified: March 09, 2015

Applies to: Windows | Windows Server

The JET_INDEXID structure holds an index ID. An index ID is a hint that is used to accelerate the selection of the current index using JetSetCurrentIndex. It is most useful when there is a very large number of indexes over a table. The index ID can be retrieved using JetGetIndexInfo or JetGetTableIndexInfo.

typedef struct tagJET_INDEXID {
  unsigned long cbStruct;
  char rgbIndexId[sizeof(JET_API_PRT) + sizeof(unsigned long) + sizeof(unsigned long)];
} JET_INDEXID;

Members

cbStruct

The size, in bytes, of the index ID.

This is the actual size of the index ID that is returned in the output buffer from JetGetIndexInfo or JetGetTableIndexInfo.

rgbIndexId

An opaque BLOB of information that is used by the engine to quickly identify an index in its schema cache.

Do not attempt to interpret the BLOB of information. It is not a set size.

Requirements

Client

Requires Windows Vista, Windows XP, or Windows 2000 Professional.

Server

Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.

Header

Declared in Esent.h.

See Also

Show: