Bde.DBTables.TSession.DatabaseCount

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TSession

Delphi

property DatabaseCount: Integer read GetDatabaseCount;

C++

__property int DatabaseCount = {read=GetDatabaseCount, nodefault};

Description

Indicates the number of active database components currently associated with the session.

Examine DatabaseCount to determine the number of active database components associated with a session. As database connections are opened or closed during a session's life-span, this number can change. If DatabaseCount is zero, there are currently no active database components for the session.

DatabaseCount is typically used with the Databases property to iterate through the current set of active databases in a session.

See Also