PostgresDAC

TPSQLDump.Properties.VersionAsStr

Previous Next

Returns a string representing the pg_dump.dll version.

Syntax:

property VersionAsStr: string;

Description:

The string is formed by concatenating the major, minor, and revision numbers separated by dots. '0.0.0' value is returned if the library can not be found.

Example:

This example populates form caption with library version used:

procedure TForm1.Button2Click(Sender: TObject);
begin
  fmDump.Caption := Format('Dump database (v%s)', [PSQLDump1.VersionAsStr]);
end;
See also:VersionAsInt, TPSQLRestore.VersionAsStr