SolFSStorage.UseTransactions property


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



Indicates if transactions are used in SolFSStorage.


    property UseTransactions: Boolean;

[Plain C]
    long _stdcall StorageGetUseTransactions(unsigned long Storage, char *Value);

[C++ (DLL/Lib)]
    bool get_UseTransactions()
    void set_UseTransactions(bool Value)

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

[C++ (.NET)]
    bool get_UseTransactions()
    void set_UseTransactions(bool Value)

    bool UseTransactions

    Property UseTransactions As Boolean

    bolean getUseTransactions()
    void setUseTransactions(boolean value)


  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Value - specifies whether transactions are used.

[Plain C]  Return values

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


Transactions are used for storage integrity support. When transactions are enabled, the data is first stored to the journal area in the storage, and then commited. This way the file system integrity is preserved in case of application or system crash.

Transactions in CBFS Storage are NOT of the same kind, as in the DBMS -- you can't rollback the transaction explicitly.