![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Execute Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Execute()()()()
Executes a SQL View query.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public void Execute()
Public Sub Execute
public: void Execute()
![](collapse_all.gif)
Win32 MSI API: MsiViewExecute
![](collapse_all.gif)
Exception | Condition |
---|---|
InstallerException | the View could not be executed |
InvalidHandleException | the View handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)