Deployment Tools Foundation
Update Method (record)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Update(Record)
Updates the View with new data from the Record.
Declaration Syntax
Parameters
- record (Record)
- the new data
Remarks
Only non-primary keys can be updated. The Record must have been obtained by calling Fetch()()(). Fails with a deleted Record. Works only with read-write Records.
See Modify(ViewModifyMode, Record) for more remarks.
Win32 MSI API: MsiViewModify
Exceptions
Exception | Condition |
---|---|
InstallerException | the update failed |
InvalidHandleException | the View handle is invalid |