UseJournaling Property

Whether the class should open a vault in journaling mode.

Syntax

ANSI (Cross Platform)
int GetUseJournaling();
int SetUseJournaling(int bUseJournaling); Unicode (Windows) BOOL GetUseJournaling();
INT SetUseJournaling(BOOL bUseJournaling);
@property (nonatomic,readwrite,assign,getter=useJournaling,setter=setUseJournaling:) BOOL useJournaling;
- (BOOL)useJournaling;
- (void)setUseJournaling:(BOOL)newUseJournaling;
#define PID_CBVAULT_USEJOURNALING 18

CBFSSTORAGE_EXTERNAL void* CBFSSTORAGE_CALL CBFSStorage_CBVault_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSSTORAGE_EXTERNAL int CBFSSTORAGE_CALL CBFSStorage_CBVault_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property specifies whether the class should open a vault in journaling mode, which will cause it to make use of transactions to help protect data integrity.

Please refer to the Vault Corruption topic for more information about how journaling and transactions work.

Note: This property cannot be changed when Active is true, and cannot be changed within events.

Data Type

Boolean

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 C++ Edition - Version 20.0 [Build 8031]