Bde.DBTables.TSession.PrivateDir

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PrivateDir: String read GetPrivateDir write SetPrivateDir;

C++

__property System::UnicodeString PrivateDir = {read=GetPrivateDir, write=SetPrivateDir};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TSession

Description

Specifies the directory in which to store temporary table processing files generated by the Borland Database Engine (BDE) for database components associated with a session.

Use PrivateDir to set the directory in which to store temporary table processing files for all database connections, such as those generated by the BDE to handle local SQL statements. Ordinarily this value is only set at run time, so that a local hard disk of a user is used to store temporary files. Local storage of these files improves performance. If no value is specified for PrivateDir, the BDE automatically stores temporary files in the directory current at the time the BDE was initialized.

Note: For applications that run directly from a networked file server, the application should set PrivateDir to a user's local drive to improve performance and to prevent temporary files from being created on the server where they might conflict with temporary files created by other instances of the application.

See Also