Execute Method

[This is preliminary documentation and subject to change.]

This is the Execute method of the MsiView object. This method accepts replaceable query parameters and executes the database query, producing a result set that can be fetched or updated.

Syntax

object.Execute record

Parts

object
MsiView object.
record
Optional MsiRecord objects containing values to replace parameter markers (?) in the SQL query.

Remarks

This method must be called before any calls to the Fetch method. If the SQL query specifies values in the predicate expression with parameter markers (?), a record must be supplied containing all of the replacement values in the exact order and of compatible data types.