MsiDatabaseIsTablePersistentA function (msiquery.h)

The MsiDatabaseIsTablePersistent function returns an enumeration that describes the state of a specific table.

Syntax

MSICONDITION MsiDatabaseIsTablePersistentA(
  [in] MSIHANDLE hDatabase,
  [in] LPCSTR    szTableName
);

Parameters

[in] hDatabase

Handle to the database that belongs to the relevant table. For more information, see Obtaining a Database Handle.

[in] szTableName

Specifies the name of the relevant table.

Return value

This function returns MSICONDITION.

Remarks

Note

The msiquery.h header defines MsiDatabaseIsTablePersistent as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
Target Platform Windows
Header msiquery.h
Library Msi.lib
DLL Msi.dll

See also

General Database Access Functions