Deployment Tools Foundation
IsTablePersistent Method (table)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► IsTablePersistent(String)
Checks whether a table exists and is persistent in the database.


- table (String)
- The table to the checked

true if the table exists and is persistent in the database; false otherwise

To check whether a table exists regardless of persistence, use Contains(String).
Win32 MSI API: MsiDatabaseIsTablePersistent

Exception | Condition |
---|---|
ArgumentException | the table is unknown |
InvalidHandleException | the Database handle is invalid |