MsiDatabaseIsTablePersistent

[This is preliminary documentation and subject to change.]

The MsiDatabaseIsTablePersistent function returns an enumeration describing the state of a particular table.

UINT MsiDatabaseIsTablePersistent(
  MSIHANDLE hDatabase,   // database handle
  LPCTSTR szTableName    // name of relevant table
);
 

Parameters

hDatabase
Handle to the database to which the relevant table belongs.
szTableName
Specifies the name of the relevant table.

Return Values

MSICONDITION_ERROR
An invalid handle or invalid parameter was passed to the function.
MSICONDITION_FALSE
The table is temporary.
MSICONDITION_NONE
The table is unknown.
MSICONDITION_TRUE
The table is persistent.

QuickInfo

  Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in msiquery.h.
  Import Library: Use msi.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Database Access Reference, General Database Access Functions