Deployment Tools Foundation
Delete Method (record)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Delete(Record)
Deletes a Record from the View.
Declaration Syntax
Parameters
- record (Record)
- the Record to be deleted
Remarks
The Record must have been obtained by calling Fetch()()(). Fails if the row has been deleted. Works only with read-write records. This method cannot be used with a View containing joins.
See Modify(ViewModifyMode, Record) for more remarks.
Win32 MSI API: MsiViewModify
Exceptions
Exception | Condition |
---|---|
InstallerException | the deletion failed |
InvalidHandleException | the View handle is invalid |