GetError Method

[This is preliminary documentation and subject to change.]

This is the GetError method of the MsiView object. This method returns the Validation error and the column name for which the error occurred. In automation, the returned value is a string of the form ##ColumnName, where the ## represents a 2-digit error code. It returns the first error in the view's error array; subsequent calls return the next value in the error array. Once a value of '00' is returned, no more errors exist, and subsequent calls merely loop through the array again. See msiquery.h for error enums.

Syntax

object.GetError

Parts

object
MsiView object.