TurboDB VCL Component Library

TTdbDatabase.ConnectionId

TTdbDatabase        See also

Previous  Top  Next

Indicates the id that identifies this database connection.

Delphi syntax:

property ConnectionId: Integer;

C++ Syntax:

__property unsigned ConnectionId = {read=FConnectionId, nodefault};

Description

Read this property to determine the id of the database connection you are using. Every time the TTdbDatabase object connects to the TurboDB engine it is assigned a unique connection id. This connection id is used in lock files to identify the locking database connection.