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.
