SolFSStorage.UseSystemCache property


Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 



Enables or disables system cache


    property UseSystemCache : boolean;

[Plain C]
    long _stdcall StorageSetUseSystemCache( unsigned long Storage, bool UseSystemCache);

[C++ (DLL/Lib)]
    bool get_UseSystemCache()
    void set_UseSystemCache(bool Value)

[C++ (VCL)]
    __property bool UseSystemCache={ nodefault }

[C++ (.NET)]
    bool get_UseSystemCache()
    void set_UseSystemCache(bool Value)

    bool UseSystemCache

    Property UseSystemCache As Boolean

    bolean getUseSystemCache()
    void setUseSystemCache(boolean value)


  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • Enable - specifies if the cache is enabled

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.


Use this method to enable or disable operating system cache on the storage. Change of this parameter changes speed of operations, but the change can be different for different types of operations and even data sizes.

The property may be changed only when the storage is closed.

In OS edition the property is available only on Windows.