Export (0) Print
Expand All

ISearchDesktop::ExecuteSQLQuery method

[Windows Search 2.x is available for use in the operating system specified in the Requirements section. It might be altered or unavailable in later versions. Use the Windows Search API instead.]

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(
  [in]   LPCWSTR *pdwAttributes,
  [in]   LPCWSTR pwszURL,
  [out]  ppidUrl *ppidUrl
);

Parameters

pdwAttributes [in]

Type: LPCWSTR*

A string that contains the other attributes for the query.

pwszURL [in]

Type: LPCWSTR

A string that contains the SQL query.

ppidUrl [out]

Type: ppidUrl*

When this method returns successfully, contains a pointer to the returned recordset.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

 

 

Build date: 7/12/2013

Community Additions

ADD
Show:
© 2014 Microsoft