EldoS
 Table of Contents >  SolFSStorage.AutoCompact property
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.AutoCompact property

Filter:

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

SolFSStorage     See also    

Overview

Determines when Compact method must be invoked automatically.

Declaration

[Pascal]
    property AutoCompact: LongWord;

[DLL]
    long _stdcall StorageSetAutoCompact(unsigned long Storage, unsigned long Percent);
    long _stdcall StorageGetAutoCompact(unsigned long Storage, unsigned long *Percent);

[C++ (DLL/Lib)]
    unsigned long get_AutoCompact()
    void set_AutoCompact(unsigned long)

[C++ (VCL)]
    __property LongWord AutoCompact;

[C++ (.NET)]
    LongWord get_AutoCompact()
    void set_AutoCompact(LongWord)

[C#]
    int AutoCompact

[VB.NET]
    Property AutoCompact As Integer

Parameters

  • [DLL] Storage - handle to the storage returned by Create or Open function.
  • [DLL] Percent - maximum allowed percentage of space, which can remain free without calling Compact method automatically.

[DLL]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

If percentage of free space in storage becomes higher then value of AutoCompact property, Compact method will be invoked automatically.
If the value of AutoCompact property is set to zero, Compact is never invoked automatically.
Default value is 25 percent.

See also

Compact     DiskSize     DiskFree    

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation