Deployment Tools Foundation
IsColumnPersistent Method (table, column)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► IsColumnPersistent(String, String)
Checks whether a table contains a persistent column with a given name.
Declaration Syntax
Return Valuetrue if the column exists in the table; false if the column is temporary or does not exist.
RemarksTo check whether a column exists regardless of persistence, use Contains(String).
Exceptions| Exception | Condition |
|---|---|
| InstallerException | the View could not be executed |
| InvalidHandleException | the Database handle is invalid |