IBX.IBDatabaseInfo.TIBDatabaseInfo.GetLongDatabaseInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetLongDatabaseInfo(DatabaseInfoCommand: Integer): Long;

C++

int __fastcall GetLongDatabaseInfo(int DatabaseInfoCommand);

Properties

Type Visibility Source Unit Parent
function public
IBX.IBDatabaseInfo.pas
IBX.IBDatabaseInfo.hpp
IBX.IBDatabaseInfo TIBDatabaseInfo

Description

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

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.