36.1.2 View Objects

##
36.1.2 View Objects

`Execute`( | [params=None])

  Execute the SQL query of the view, through `MSIViewExecute`. params is an optional record describing actual values of the parameter tokens in the query.

`GetColumnInfo`( | kind)

  Return a record describing the columns of the view, through calling `MsiViewGetColumnInfo`. kind can be either `MSICOLINFO_NAMES` or `MSICOLINFO_TYPES`.

`Fetch`( | )

  Return a result record of the query, through calling `MsiViewFetch`.

`Modify`( | kind, data)

  Modify the view, by calling `MsiViewModify`. kind can be one of `MSIMODIFY_SEEK`, `MSIMODIFY_REFRESH`, `MSIMODIFY_INSERT`, `MSIMODIFY_UPDATE`, `MSIMODIFY_ASSIGN`, `MSIMODIFY_REPLACE`, `MSIMODIFY_MERGE`, `MSIMODIFY_DELETE`, `MSIMODIFY_INSERT_TEMPORARY`, `MSIMODIFY_VALIDATE`, `MSIMODIFY_VALIDATE_NEW`, `MSIMODIFY_VALIDATE_FIELD`, or `MSIMODIFY_VALIDATE_DELETE`.

  data must be a record describing the new data.

`Close`( | )

  Close the view, through `MsiViewClose`.

See Also:

MsiViewExecute

MSIViewGetColumnInfo

MsiViewFetch

MsiViewModify

MsiViewClose