Bde.DBTables.TSession.DatabaseCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DatabaseCount: Integer read GetDatabaseCount;

C++

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

Properties

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

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