Deployment Tools Foundation
Fetch Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Fetch()()()
Fetches the next sequential record from the view, or null if there are no more records.
Declaration Syntax
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 |