Export (0) Print
Expand All

ISchemaProvider::Entities method

Retrieves an enumeration of IEntity objects with one entry for each entity in the loaded schema.

Syntax


HRESULT Entities(
  [in]           REFIID riid,
  [out, retval]  void **pEntities
);

Parameters

riid [in]

Type: REFIID

The desired IID of the result, either IID_IEnumUnknown or IID_IEnumVARIANT.

pEntities [out, retval]

Type: void**

Receives a pointer to an enumeration of entities. The calling application must release it by calling its IUnknown::Release method.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft