FireDAC.Phys.ADS.TFDADSService.Database

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Database: String read FDatabase write FDatabase;

C++

__property System::UnicodeString Database = {read=FDatabase, write=FDatabase};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Phys.ADS.pas
FireDAC.Phys.ADS.hpp
FireDAC.Phys.ADS TFDADSService

Description

Specifies the connection path to the Advantage database.

Use the Database property to specify the connection path to the database. This property must be specified for any service operation.

The connection path is the fully qualified path to the computer where the data files exist and to the default location of the data files. The fully qualified path can contain a drive letter or it can use UNC. If a free connection is desired, the directory location must be specified. For a database connection, the path and the data dictionary file must be specified.

Additionally, other Advantage connection definition parameters separated by semicolon may be specified. For example, 'C:\DB;ServerTypes=Local'.

Example

FDADSUtility1.Database := 'C:\DB;ServerTypes=Local';

See Also