MsiDatabaseIsTablePersistent function

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

Syntax


MSICONDITION MsiDatabaseIsTablePersistent(
  _In_  MSIHANDLE hDatabase,
  _In_  LPCTSTR szTableName
);

Parameters

hDatabase [in]

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

szTableName [in]

Specifies the name of the relevant table.

Return value

MSICONDITION_ERROR

An invalid handle or invalid parameter is passed to the function.

MSICONDITION_FALSE

The table is temporary.

MSICONDITION_NONE

The table is unknown.

MSICONDITION_TRUE

The table is persistent.

Requirements

Version

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

Header

Msiquery.h

Library

Msi.lib

DLL

Msi.dll

Unicode and ANSI names

MsiDatabaseIsTablePersistentW (Unicode) and MsiDatabaseIsTablePersistentA (ANSI)

See also

General Database Access Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft