RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBDatabaseInfo.GetLongDatabaseInfo Method

Returns a specified long integer that describes some aspect of the associated database.

Pascal
function GetLongDatabaseInfo(DatabaseInfoCommand: Integer): Long;
C++
__fastcall Long GetLongDatabaseInfo(int DatabaseInfoCommand);

TIBDatabaseInfo uses GetLongDatabaseInfo internally to fetch information that can be expressed as a long integer. For example, this method provides the underlying implementation for fetching the version number or page size. It is exposed as a public member so that as the underlying _DatabaseInfoCommand interface expands its capabilities, TIBDatabaseInfo can still be used to fetch information for which there is no specified property. 

DatabaseInfoCommand is an index that identifies the information to fetch. It is one of the constants declared in the IBHeader unit. 

Long returns desired information. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!