示例#1
0
 /// <summary>
 ///     Get the total size taken by the database on the disk.
 ///     This explicitly does NOT include in memory database.
 ///     It does include any reserved space on the file system, which may significantly increase
 ///     the database size.
 /// </summary>
 /// <remarks>
 ///     This is a potentially a very expensive call, avoid making it if possible.
 /// </remarks>
 public DatabaseSizeInformation GetTransactionalStorageSizeOnDisk()
 {
     return(Configuration.RunInMemory ? DatabaseSizeInformation.Empty : TransactionalStorage.GetDatabaseSize());
 }