ISchemaProvider::RootEntity method (structuredquery.h)

Retrieves the root entity of the loaded schema.

Syntax

HRESULT RootEntity(
  [out, retval] IEntity **pRootEntity
);

Parameters

[out, retval] pRootEntity

Type: IEntity**

Receives a pointer to the root entity. The calling application must release it by invoking its IUnknown::Release method.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header structuredquery.h
Redistributable Windows Desktop Search (WDS) 3.0