大网数据广告活动
磁盘与文件系统

JET_OBJECTLIST Structure

· 52CE 我爱测

Learn more about: JET_OBJECTLIST Structure

Applies to: Windows | Windows Server

JET_OBJECTLIST Structure

The JET_OBJECTLIST structure traverses a temporary table that was created with JetGetObjectInfo. Each row in the temporary table describes an object in the database.

    typedef struct {
      unsigned long cbStruct;
      JET_TABLEID tableid;
      unsigned long cRecord;
      JET_COLUMNID columnidcontainername;
      JET_COLUMNID columnidobjectname;
      JET_COLUMNID columnidobjtyp;
      JET_COLUMNID columniddtCreate;
      JET_COLUMNID columniddtUpdate;
      JET_COLUMNID columnidgrbit;
      JET_COLUMNID columnidflags;
      JET_COLUMNID columnidcRecord;
      JET_COLUMNID columnidcPage;
    } JET_OBJECTLIST;

Members

cbStruct

The size of the structure, in bytes. The API call will update this field, so the caller should ensure that this value matches sizeof( JET_INDEXLIST ).

tableid

The table identifier of the temporary table that was created. The caller must contain code that will close the table.

cRecord

The number of records in the temporary table that was created.

columnidcontainername

The column identifier of the name of the type of container.

The only containers that are currently supported are tables. This column is a JET_coltypText.

columnidobjectname

The column identifier of the name of the object.

This column is a JET_coltypText.

columnidobjtyp

The column identifier of the type of the object. The only containers that are currently supported are tables, so this field will be JET_objtypTable.

This column is a JET_coltypLong.

columniddtCreate

Obsolete. Do not use.

columniddtUpdate

Obsolete. Do not use.

columnidgrbit

The column identifier of the grbits that are applicable to the object. For a list of applicable grbits, see JET_TABLECREATE.

This column is a JET_coltypLong.

columnidflags

The column identifier of the flags that are applicable to the object. For a list of applicable flags, see JET_OBJECTINFO.

This column is a JET_coltypLong.

columnidcRecord

The column identifier of the number of records that are present in the table that is named in columnidobjectname.

This column is a JET_coltypLong.

columnidcPage

The column identifier of the number of pages the object uses.

This column is a JET_coltypLong.

Remarks

Each row in the temporary table corresponds to an object in the database.

When the temporary table is created with the InfoLevel parameter in the JetGetObjectInfo function set to JET_ObjInfoListNoStats, the columns identified by columnidcRecord and columnidcPage will not contain meaningful information.

Currently, only information about tables will be in the temporary table.

Requirements

Requirement Value
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

JET_COLTYP
JET_COLUMNID
JET_ERR
JET_GRBIT
JET_SESID
JET_TABLEID
JET_OBJECTINFO
JET_TABLECREATE
JetGetObjectInfo

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 04/11/2016
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。