SDAC

TMSCompactConnection.Database Property

Used to specify the database name that is a default source of data for SQL queries once a connection is established.

Class

TMSCompactConnection

Syntax

property Database: string;

Remarks

Use the Database property to specify the name of the database to be used once a connection is open.

If the Database property points to an existent database, the database will be opened.

If the Database property points to a non-existent database in a correct system path, further behavior depends on the value of the TMSCompactConnectionOptions.ForceCreateDatabase property.

If the Database property is set to ":memory:", a new temporary in-memory database will be created and opened.

If the Database property is empty, a new temporary on-disk database will be created and opened.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback