Deployment Tools Foundation
Insert Method (record)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Insert(Record)
Inserts a Record into the view.


- record (Record)
- the Record to be inserted

Fails if a row with the same primary keys exists. Fails with a read-only database. This method cannot be used with a View containing joins.
See Modify(ViewModifyMode, Record) for more remarks.
Win32 MSI API: MsiViewModify

Exception | Condition |
---|---|
InstallerException | the insertion failed |
InvalidHandleException | the View handle is invalid |