Directory Services

IADsADSystemInfo::RefreshSchemaCache

The IADsADSystemInfo::RefreshSchemaCache method refreshes the Active Directory schema cache.

HRESULT RefreshSchemaCache( 
   void
);

Parameters

void

Return Values

This method supports the standard HRESULT return values. For more information, see ADSI Error Codes.

Remarks

When you call this method, it does a Put() of the schemaUpdateNow function on the RootDSE. Normally, when you make changes to the schema, they are not updated to the RootDSE until the next automatic update. This method does an immediate update to the schema so that you can view the changes to the schema.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Iads.h.

See Also

IADsADSystemInfo, ADSI Error Codes