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

JET_DBINFOUPGRADE Structure

· 52CE 我爱测

Learn more about: JET_DBINFOUPGRADE Structure

Applies to: Windows | Windows Server

JET_DBINFOUPGRADE Structure

The JET_DBINFOUPGRADE structure holds information about the upgrade status of the database. This value is retrieved only if JET_DBINFOUPGRADE was passed to JetGetDatabaseInfo or JetGetDatabaseFileInfo. This structure is not required for current operating system versions of the database engine.

    typedef struct {
      unsigned long cbStruct;
      unsigned long cbFilesizeLow;
      unsigned long cbFilesizeHigh;
      unsigned long cbFreeSpaceRequiredLow;
      unsigned long  cbFreeSpaceRequiredHigh;
      unsigned long csecToUpgrade;
      union {
        unsigned long ulFlags;
        struct {
          unsigned long fUpgradable  :1;
          unsigned long fAlreadyUpgraded  :1;
        };
      };
    } JET_DBINFOUPGRADE;

Members

cbStruct

Set to the size of the JET_DBINFOUPGRADE structure, in bytes.

cbFilesizeLow

The low DWORD that reflects the current file size for the database.

cbFilesizeHigh

The high DWORD that reflects the current file size for the database.

cbFreeSpaceRequiredLow

The low DWORD of estimated free disk space required for an in-place upgrade.

cbFreeSpaceRequiredHigh

The high DWORD of estimated free disk space required for an in-place upgrade.

csecToUpgrade

The estimated time required to upgrade, in seconds.

ulFlags

A bit field made of zero or more of the following flags: fUpgradable, fAlreadyUpgraded.

fUpgradable

The database is upgradeable.

fAlreadyUpgraded

The database is upgraded to the current database format.

Remarks

A JET_DBINFOUPGRADE structure is populated by a call to JetGetDatabaseInfo or JetGetDatabaseFileInfo. If the function does not succeed, the contents of the structure are undefined.

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_ERR
JET_GRBIT
JET_SESID
JET_TABLEID
JetGetIndexInfo
JetGetObjectInfo
JetGetTableIndexInfo
JetGetTableInfo

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)

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

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