IAzAuthorizationStore::UpdateCache method (azroles.h)
The UpdateCache method updates the cache of objects and object attributes to match the underlying policy store.
Syntax
HRESULT UpdateCache(
[in, optional] VARIANT varReserved
);
Parameters
[in, optional] varReserved
Reserved for future use.
Return value
If the method succeeds, it will return S_OK
. Any other HRESULT value indicates that the operation failed.
Remarks
When the UpdateCache method is called, all changes to the persistent store after the last call to the Initialize method or to the UpdateCache method are incorporated into the cache. Any changes to the cache that have not been submitted using the Submit method override the changes to the store.
Most stores should be stable and have few changes. Providers are expected to implement this method to efficiently determine whether changes have been written to the physical store since the last update.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | azroles.h |
Library | Azroles.lib |
DLL | Azroles.dll |
Redistributable | Windows Server 2003 Administration Tools Pack on Windows XP |