IADsADSystemInfo::RefreshSchemaCache method

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

Syntax


HRESULT RefreshSchemaCache();

Parameters

This method has no parameters.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsADSystemInfo is defined as 5BB11929-AFD1-11D2-9CB9-0000F87A369E

See also

IADsADSystemInfo
ADSI Error Codes

 

 

Show: