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

JET_DbInfo enumeration

· 52CE 我爱测

Learn more about: JET_DbInfo enumeration

Info levels for retrieving database info.

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

Syntax

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

Members

<table> <thead> <tr class="header"> <th></th> <th>Member name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td></td> <td>Filename</td> <td>Returns the path to the database file (string).</td> </tr> <tr class="even"> <td></td> <td>LCID</td> <td>Returns the locale identifier (LCID) associated with this database (Int32).</td> </tr> <tr class="odd"> <td></td> <td>Options</td> <td>Returns a <a href="hh579532(v=exchg.10).md">OpenDatabaseGrbit</a>. This indicates whether the database is opened in exclusive mode. If the database is in exclusive mode then <a href="hh579532(v=exchg.10).md">Exclusive</a> will be returned, otherwise zero is returned. Other database grbit options for JetAttachDatabase and JetOpenDatabase are not returned.</td> </tr> <tr class="even"> <td></td> <td>Transactions</td> <td>Returns a number one greater than the maximum level to which transactions can be nested. If <a href="dn292105(v=exchg.10).md">JetBeginTransaction(JET_SESID)</a> is called (in a nesting fashion, that is, on the same session, without a commit or rollback) as many times as this value, on the last call <a href="hh564840(v=exchg.10).md">TransTooDeep</a> will be returned (Int32).</td> </tr> <tr class="odd"> <td></td> <td>Version</td> <td>Returns the major version of the database engine (Int32).</td> </tr> <tr class="even"> <td></td> <td>Filesize</td> <td>Returns the filesize of the database, in pages (Int32).</td> </tr> <tr class="odd"> <td></td> <td>SpaceOwned</td> <td>Returns the owned space of the database, in pages (Int32).</td> </tr> <tr class="even"> <td></td> <td>SpaceAvailable</td> <td>Returns the available space in the database, in pages (Int32).</td> </tr> <tr class="odd"> <td></td> <td>Misc</td> <td>Returns a <a href="hh538867(v=exchg.10).md">JET_DBINFOMISC</a> object.</td> </tr> <tr class="even"> <td></td> <td>DBInUse</td> <td>Returns a boolean indicating whether the database is attached (boolean).</td> </tr> <tr class="odd"> <td></td> <td>PageSize</td> <td>Returns the page size of the database (Int32).</td> </tr> <tr class="even"> <td></td> <td>FileType</td> <td>Returns the type of the database (<a href="hh566739(v=exchg.10).md">JET_filetype</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)

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

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