This method executes the specified SQL query against the Microsoft® 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
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.