PostgresDAC

TPSQLDatabase.Methods.GetDatabases

Previous Next

Populates a stringlist with the names of persistent PostgreSQL databases.

Syntax:

procedure GetDatabases(Pattern: String; List : TStrings);

Parameters:

Pattern

Sspecifies a delimiter string that restricts the databases returned to those that match the string. Pattern may include wildcard symbols. Pass an empty Pattern string to match all databases not restricted by other criteria.

List

A string list object, created and maintained by the application, in which the database names will be return to.

Description:

Populates a stringlist with the names of persistent PostgreSQL databases.