Repository ExecuteQuery Method

See Also

This method executes the specified SQL query against the Repository database, and returns a collection of Repository objects. The columns that are returned by the query must be either just the internal identifier (IntID) column, or the internal identifier and the type identifier (IntID, TypeID) columns of the RTblVersions table.

Syntax

Set variable = object.ExecuteQuery( queryString )

The ExecuteQuery method syntax has the following parts.

Part Description
variable Declared as an ObjectCol object. Receives the collection of objects that meet the selection criteria of the SQL query.
object The object that represents the open Repository instance through which this program is interacting with the Repository.
queryString A string that contains the SQL Query or the name of a stored procedure to be executed.