Update Method (record)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Update Method (record)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerViewUpdate(Record)
Updates the View with new data from the Record.
Declaration Syntax
C# Visual Basic Visual C++
public void Update(
	Record record
)
Public Sub Update ( 
	record As Record
)
public:
void Update(
	Record^ record
)
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

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)