IADsADSystemInfo::RefreshSchemaCache method (iads.h)
The IADsADSystemInfo::RefreshSchemaCache method refreshes the Active Directory schema cache.
Syntax
HRESULT RefreshSchemaCache();
Return value
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | iads.h |
DLL | Activeds.dll |