Deployment Tools Foundation
Execute Method (executeParams)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► View ► Execute(Record)
Executes a SQL View query and supplies any required parameters. The query uses the
question mark token to represent parameters as described in SQL Syntax. The values of
these parameters are passed in as the corresponding fields of a parameter record.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void Execute( Record executeParams )
Public Sub Execute ( executeParams As Record )
public: void Execute( Record^ executeParams )
member Execute : executeParams : Record -> unit
Parameters
- executeParams (Record)
- Optional Record that supplies the parameters. This Record contains values to replace the parameter tokens in the SQL query.
Remarks
Win32 MSI API: MsiViewExecute
Exceptions
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.11.1.2318)