FetchDatabaseStructure Method

English Query

English Query

FetchDatabaseStructure Method

Retrieves schema information, such as tables or cubes, from the SQL or Microsoft® SQL Server™ 2000 Analysis Services (OLAP) database by using the given Microsoft ActiveX® Data Objects (ADO) connection object.

Applies To

EQModel Object

Syntax

EQModel.FetchDatabaseStructure(DBConnection, ModuleID)

Parts

EQModel

Object variable into which model information is loaded.

DBConnection

An object variable that represents the ADO connection object to use for executing database queries against the target database.

ModuleID

The ID of the module in which you want the objects created.

Remarks

ModuleID is stored as an attribute of the MODULE element in the XMLDOMDocument object.

The errors encountered while compiling the English Query project are placed in EQModel.Errors.

See Also

Compile-Time Error Messages (Authoring Object Model)

EQError Object