AdoConnection:OpenSchema()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoConnection Class >

AdoConnection:OpenSchema()

Previous pageReturn to chapter overviewNext page

Purpose

Obtains database schema information from the provider

 

Prototype

 

METHOD OpenSchema ( lSchema AS LONG,aRestrictions AS USUAL,lSchemaId  AS USUAL )  AS AdoRecordSet 

 

Argument(s)

lSchema        Long. Any SchemaEnum value that represents the type of schema query to run.

aRestrictions        (Optional) An array of query constraints for each QueryType option

lSchemaId        (Optional) The GUID for a provider-schema query not defined by the OLE DB specification. This parameter is required if QueryType is set to adSchemaProviderSpecific; otherwise, it is not used

 

 

Return

OBJECT        AdoRecordSet Object

 

See Also

AdoConnection, AdoSchemaEnum, AdoRecordSet