MsiDatabaseIsTablePersistent Function

Windows Installer

MsiDatabaseIsTablePersistent Function

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

Syntax

C++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

VersionWindows Installer 5.0 on 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, Windows XP, and Windows 2000
HeaderMsiquery.h
LibraryMsi.lib
DLLMsi.dll
Unicode and ANSI namesMsiDatabaseIsTablePersistentW (Unicode) and MsiDatabaseIsTablePersistentA (ANSI)

See Also

General Database Access Functions

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.