Deployment Tools Foundation
CountRows Method (table)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► CountRows(String)
Gets the count of all rows in the table.
Declaration Syntax
Parameters
- table (String)
- Name of the table whose rows are to be counted
Return Value
The count of all rows in the table
Exceptions
Exception | Condition |
---|---|
InstallerException | the View could not be executed |
InvalidHandleException | the Database handle is invalid |