InsertTemporary Method (record)

Microsoft Deployment Tools

Deployment Tools Foundation InsertTemporary Method (record)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerViewInsertTemporary(Record)
Inserts a Record into the View. The inserted data is not persistent.
Declaration Syntax
C# Visual Basic Visual C++
public void InsertTemporary(
	Record record
)
Public Sub InsertTemporary ( _
	record As Record _
)
public:
void InsertTemporary(
	Record^ record
)
Parameters
record (Record)
the Record to be inserted
Remarks

Fails if a row with the same primary key exists. 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 insertion failed
InvalidHandleException the View handle is invalid

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)