Directory Services |
The IADsADSystemInfo::RefreshSchemaCache method refreshes the Active Directory schema cache.
HRESULT RefreshSchemaCache( void );
This method supports the standard HRESULT return values. For more information, see ADSI Error Codes.
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.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Iads.h.