IRepositoryODBC::ExecuteQuery

Meta Data Services Programming

Meta Data Services Programming

IRepositoryODBC::ExecuteQuery

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 the internal identifier (IntID) column, or a combination of 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.

See Also

IRepositoryODBC Interface

RTblVersions SQL Table