ADO OpenSchema methoda

Definition da koyarwa

Hanyan ma'ana ga OpenSchema methoda za'a bori Recordset objecta, wanda za'a gurin da bayanin shirin data. Misali, schema informationa za'a iya girmi sunan tabi, sunan yankuna a tabi, wanda yankuna za'a yi kowa na data. Recordset za'a bukaka kawai, kuma yana kaiwa kama cursor statico.

syntax

Set rs = objconn.OpenSchema(querytype, criteria, schemaid)
parameter description
querytype

required. Any SchemaEnum value indicating the type of schema query to be executed.

note: OLEDB specification only requires three SchemaEnum values to be supported: adSchemaTables, adSchemaColumns, and adSchemaProviderTypes.

criteria optional. An array of query constraints for each QueryType option, as listed in SchemaEnum.
schemaid GUID of the provider mode query undefined by OLE DB specification. If QueryType is set to adSchemaProviderSpecific, then this parameter is required. Otherwise, it will not be used.