Fetch Method

Microsoft Deployment Tools

Deployment Tools Foundation Fetch Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerViewFetch()()()
Fetches the next sequential record from the view, or null if there are no more records.
Declaration Syntax
C# Visual Basic Visual C++
public Record Fetch()
Public Function Fetch As Record
public:
Record^ Fetch()
Remarks

The Record object should be Close()()()d after use. It is best that the handle be closed manually as soon as it is no longer needed, as leaving lots of unused handles open can degrade performance.

Win32 MSI API: MsiViewFetch

Exceptions
Exception Condition
InstallerException the View is not in an active state
InvalidHandleException the View handle is invalid

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