Execute Method (executeParams)

Microsoft Deployment Tools

Deployment Tools Foundation Execute Method (executeParams)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerViewExecute(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++
public void Execute(
	Record executeParams
)
Public Sub Execute ( _
	executeParams As Record _
)
public:
void Execute(
	Record^ executeParams
)
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) Version: 3.0.0.0 (3.5.1623.0)