Data.SqlExpr.TSQLConnection.OpenSchema
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.SqlExpr.pas Data.SqlExpr.hpp
| |
Unit: Data.SqlExpr | |
Parent: TSQLConnection |
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 */;
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.