Data.SqlExpr.TSQLConnection.OpenSchema
Delphi
procedure OpenSchema(eKind: TSchemaType; sInfo: string; List: TStrings); overload;
procedure OpenSchema(eKind: TSchemaType; sInfo, SSchemaName: string; List: TStrings); overload;
C++
void __fastcall OpenSchema(TSchemaType eKind, System::UnicodeString sInfo, System::Classes::TStrings* List)/* overload */;
void __fastcall OpenSchema(TSchemaType eKind, System::UnicodeString sInfo, System::UnicodeString SSchemaName, System::Classes::TStrings* List)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLConnection |
Description
Retrieves schema information from the connection's provider.
OpenSchema is a method to open an SQL connection and retrieve schema information from the associated provider. OpenSchema retrieves the schema information in the form of a TStrings. There are two OpenSchema overloads. Depending on which one you choose to use, some of the following parameters must be employed:
- The eKind parameter, which is the type of schema information to retrieve.
- The sInfo parameter, which is a string containing information about the schema that will be retrieved.
- The SSchemaName parameter, which is the name of the schema.
- The List parameter, which is the list where the information will be retrieved.