The rdoEngine object represents the remote data source. As the top-level object, it contains all other objects in the hierarchy of Remote Data Objects (RDO).
Remarks
The rdoEngine object can represent a remote database engine or another data source managed by the ODBC driver manager as a database. The rdoEngine object is a predefined object, therefore you can't create additional rdoEngine objects and it isn't a member of any collection.
The rdoEngine object is used to reference the rdoEnvironments collection, or establish default values for newly created rdoEnvironment objects. When an rdoEnvironment object is created, its properties are initialized based on the default values set in the rdoEngine. A default rdoEnvironments(0) object is created automatically when it is first referenced.
The rdoEngine object fires the InfoMessage event when an informational message is returned from the remote data source. Informational messages are indicated by an ODBC SQL_SUCCESS_WITH_INFO return code. These messages are placed in the rdoErrors collection. In cases where several messages arrive at once, only a single InfoMessage event is fired — after the last message arrives and has been added to the rdoErrors collection.
The following properties establish default settings for all newly-created rdoEnvironment objects. They are also used when instantiating stand-alone rdoConnection objects.
You can establish the default configuration of new rdoEnvironment objects and create new ODBC data source entries using the properties and methods of the rdoEngine object. For example, you can:
Dim MyEnv as New rdoEnvironment