Fetch Method

DTF API

Copy image CopyHover image
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++ F#
public Record Fetch()
Public Function Fetch As Record
public:
Record^ Fetch()
member Fetch : unit -> Record 
Return Value
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.dll) Version: 3.0.0.0 (3.11.1.2318)