RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.DatabaseCount Property

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

Pascal
property DatabaseCount: Integer;
C++
__property int DatabaseCount;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!