IRepositoryODBC::ExecuteQuery

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.

HRESULT ExecuteQuery( BSTR queryString, IObjectCol **ppICol );

Parameters

queryString

[in]
The SQL query, or the name of a stored procedure.

**ppICol

[out]
The collection of objects that meet the selection criteria of the SQL query.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.