Deployment Tools Foundation
Seek Method (record)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Seek(Record)
Refreshes the information in the supplied record without changing the position
in the result set and without affecting subsequent fetch operations.
![](collapse_all.gif)
![](collapse_all.gif)
- record (Record)
- the Record to be filled with the result of the seek
![](collapse_all.gif)
After seeking, the Record may then be used for subsequent Update, Delete, and Refresh operations. All primary key columns of the table must be in the query and the Record must have at least as many fields as the query. Seek cannot be used with multi-table queries. This method cannot be used with a View containing joins.
See Modify(ViewModifyMode, Record) for more remarks.
Win32 MSI API: MsiViewModify
![](collapse_all.gif)
Exception | Condition |
---|---|
InstallerException | the seek failed |
InvalidHandleException | the View handle is invalid |