ISchemaProvider::RootEntity Method

Retrieves the root entity of the loaded schema.

Syntax

HRESULT RootEntity(      
    IEntity **pRootEntity
);

Parameters

  • pRootEntity
    [out, retval]  Receives a pointer to the root entity. The calling application must release it by invoking its IUnknown::Release method.

Return Value

Returns S_OK if successful, or an error value otherwise.