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.
Declaration Syntax
Parameters
- table (String)
- The table to the checked
Return Value
true if the table exists and is persistent in the database; false otherwise
Remarks
To check whether a table exists regardless of persistence, use Contains(String).
Win32 MSI API: MsiDatabaseIsTablePersistent
Exceptions
Exception | Condition |
---|---|
ArgumentException | the table is unknown |
InvalidHandleException | the Database handle is invalid |