EPUB | CHM | PDF

TPSQLDatabase.Methods.GetSchemaNames

Top Previous Next

Populates a stringlist with the names of schemas associated with a specified database component.

Syntax:

procedure GetSchemaNames(Pattern: String; SystemSchemas: Boolean; List: TStrings);

Parameters:

Pattern

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

SystemSchemas

Specifies whether to include system schemas into the list.

List

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

Description:

Call GetSchemaNames to retrieve a list of the schemas associated with a given database.