<xml></xml>

Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
HeapDatabaseConfig Properties
HeapDatabaseConfig Class See Also Send Feedback

The HeapDatabaseConfig type exposes the following members.

# Properties

| Name | Description
--- | --- | ---
| BlobThreshold | Deprecated. Replaced by ExternalFileThreshold.
| EncryptAlgorithm | The algorithm used to perform encryption and decryption. (Inherited from DatabaseConfig.)
| Encrypted | Encrypt the database using the cryptographic password specified by DatabaseConfig.SetEncryption or DatabaseEnvironmentConfig.SetEncryption. (Inherited from DatabaseConfig.)
| EncryptionPassword | The password used to perform encryption and decryption. (Inherited from DatabaseConfig.)

ExternalFileThreshold

The size in bytes which is used to determine when a data item will be stored as an external file.

Any data item that is equal to or larger in size than the threshold value is automatically stored as an external file.

If the threshold value is 0, external files are never used by the database.

It is illegal to enable external file support in the database which is configured as in-memory database or with duplicates, sorted duplicates, compression, multiversion concurrency control and transactional read operations with degree 1 isolation.

| MaxSizeBytes | The bytes component of the maximum on-disk database file size.
| MaxSizeGBytes | The gigabytes component of the maximum on-disk database file size.
| PageSize | The size of the pages used to hold items in the database, in bytes. (Inherited from DatabaseConfig.)

RegionSize

The number of pages in a region of the database. If this value is never set, the default region size for the database's page size is used. You can set the database page size using PageSize. If the database already exists, this value is ignored. If the specified region size is larger than the maximum region size for the database's page size, an error is returned when Open(String, DatabaseConfig) is called. The maximum allowable region size is included in the error message.

# See Also

HeapDatabaseConfig Class
BerkeleyDB Namespace