VaultSizeMax Property

The maximum size a vault can be.


ANSI (Cross Platform)
int64 GetVaultSizeMax();
int SetVaultSizeMax(int64 lVaultSizeMax); Unicode (Windows) LONG64 GetVaultSizeMax();
INT SetVaultSizeMax(LONG64 lVaultSizeMax);
@property (nonatomic,readwrite,assign,getter=vaultSizeMax,setter=setVaultSizeMax:) long long vaultSizeMax;
- (long long)vaultSizeMax;
- (void)setVaultSizeMax:(long long)newVaultSizeMax;

CBFSVAULT_EXTERNAL void* CBFSVAULT_CALL CBFSVault_CBVault_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CBFSVAULT_EXTERNAL int CBFSVAULT_CALL CBFSVault_CBVault_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value



This property specifies the maximum size, in bytes, that a vault can be. This property must be set to 0 (unlimited), or a number greater than or equal to 8 * PageSize or VaultSizeMin (whichever is greater).

The limit imposed by this property, if any, applies to both explicit growth of a vault via the VaultSize property, and implicit growth of a vault due to storage load. Please refer to the Vault Size topic for more information.

Note: This property cannot be changed within events.

Data Type


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