//-----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
//
//-----------------------------------------------------------------------
namespace Microsoft.Isam.Esent.Interop
{
///
/// Info levels for retrieving database info.
///
public enum JET_DbInfo
{
///
/// Returns the path to the database file (string).
///
Filename = 0,
///
/// Returns the locale identifier (LCID) associated with this database (Int32).
///
LCID = 3,
///
/// Returns a . This indicates whether the
/// database is opened in exclusive mode. If the database is in exclusive mode then
/// will be returned, otherwise zero is
/// returned. Other database grbit options for JetAttachDatabase and JetOpenDatabase
/// are not returned.
///
Options = 6,
///
/// Returns a number one greater than the maximum level to which transactions can be
/// nested. If 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 will be returned (Int32).
///
Transactions = 7,
///
/// Returns the major version of the database engine (Int32).
///
Version = 8,
///
/// Returns the filesize of the database, in pages (Int32).
///
Filesize = 10,
///
/// Returns the owned space of the database, in pages (Int32).
///
SpaceOwned = 11,
///
/// Returns the available space in the database, in pages (Int32).
///
SpaceAvailable = 12,
///
/// Returns a object.
///
Misc = 14,
///
/// Returns a boolean indicating whether the database is attached (boolean).
///
DBInUse = 15,
///
/// Returns the page size of the database (Int32).
///
PageSize = 17,
///
/// Returns the type of the database ().
///
FileType = 19,
}
}