ISearchDesktop::ExecuteSQLQuery Method
Takes a pointer to a string that contains a Structured Query Language (SQL) query and its attributes and returns a pointer to the return set.
Syntax
HRESULT ExecuteSQLQuery( LPCWSTR *pdwAttributes, LPCWSTR pwszURL, ppidUrl *ppidUrl );
Parameters
- pdwAttributes
[in] A string that contains the other attributes for the query.- pwszURL
[in] A string that contains the SQL query.- ppidUrl
[out] When this method returns successfully, contains a pointer to the returned recordset.
Return Value
Returns S_OK if successful, or an error value otherwise.