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

JET_TblInfo enumeration

· 52CE 我爱测

Learn more about: JET_TblInfo enumeration

Info levels for retrieving table info with JetGetTableInfo.

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Enumeration JET_TblInfo
'Usage
Dim instance As JET_TblInfo
public enum JET_TblInfo

Members

<table> <thead> <tr class="header"> <th></th> <th>Member name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td></td> <td>Default</td> <td>Default option. Retrieves a <a href="dn335219(v=exchg.10).md">JET_OBJECTINFO</a> containing information about the table. Use this option with <a href="dn292198(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, JET_OBJECTINFO, JET_TblInfo)</a>.</td> </tr> <tr class="even"> <td></td> <td>Name</td> <td>Retrieves the name of the table. Use this option with <a href="dn292204(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, String, JET_TblInfo)</a>.</td> </tr> <tr class="odd"> <td></td> <td>Dbid</td> <td>Retrieves the <a href="hh596176(v=exchg.10).md">JET_DBID</a> of the database containing the table. Use this option with <a href="dn292197(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, JET_DBID, JET_TblInfo)</a>.</td> </tr> <tr class="even"> <td></td> <td>SpaceUsage</td> <td>The behavior of the method depends on how large the array that is passed to the method is. The array must have at least two entries. The first entry will contain the number of Owned Extents in the table. The second entry will contain the number of Available Extents in the table. If the array has more than two entries then the remaining bytes of the buffer will consist of an array of structures that represent a list of extents. This structure contains two members: the last page number in the extent and the number of pages in the extent. Use this option with <a href="dn292202(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, [], JET_TblInfo)</a>.</td> </tr> <tr class="odd"> <td></td> <td>SpaceAlloc</td> <td>The array passed to JetGetTableInfo must have two entries. The first entry will be set to the number of pages in the table. The second entry will be set to the target density of pages for the table. Use this option with <a href="dn292202(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, [], JET_TblInfo)</a>.</td> </tr> <tr class="even"> <td></td> <td>SpaceOwned</td> <td>Gets the number of owned pages in the table. Use this option with <a href="dn292201(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, Int32, JET_TblInfo)</a>.</td> </tr> <tr class="odd"> <td></td> <td>SpaceAvailable</td> <td>Gets the number of available pages in the table. Use this option with <a href="dn292201(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, Int32, JET_TblInfo)</a>.</td> </tr> <tr class="even"> <td></td> <td>TemplateTableName</td> <td>If the table is a derived table, the result will be filled in with the name of the table from which the derived table inherited its DDL. If the table is not a derived table, the buffer will an empty string. Use this option with <a href="dn292204(v=exchg.10).md">JetGetTableInfo(JET_SESID, JET_TABLEID, String, JET_TblInfo)</a>.</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.

资料来源与适用范围

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

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

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