DatabaseUtilsGetUsedVaultCapacity Method (IDatabaseRepository, IFolder, Boolean) |
Calculates the vault capacity used by the Core.File objects in the
folder tree.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static long GetUsedVaultCapacity(
IDatabaseRepository pRepository,
IFolder pFolder,
bool isRecursive
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.DatabaseIDatabaseRepository
The repository. - pFolder
- Type: PDTec.IceNet.Core.ModelIFolder
The root folder. - isRecursive
- Type: SystemBoolean
Indicates if the child folders should be searched recursively.
Return Value
Type:
Int64The vault capacity used in bytes.
Remarks
Legacy file content (pre-ice.NET 3.4) does not have size information
stored in the database. This content is counted as 0 bytes.
See Also