msiGetDatabaseState 函式 (msiquery.h)

MsiGetDatabaseState 函式會傳回資料庫的狀態。

語法

MSIDBSTATE MsiGetDatabaseState(
  [in] MSIHANDLE hDatabase
);

參數

[in] hDatabase

MsiOpenDatabase 取得之資料庫的句柄。

傳回值

此函式會傳回 MSIDBSTATE。

備註

MsiGetDatabaseState 函式會傳回資料庫的更新狀態。

規格需求

需求
最低支援的用戶端 Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer
目標平台 Windows
標頭 msiquery.h
程式庫 Msi.lib
Dll Msi.dll

另請參閱

資料庫管理功能