PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoEngineInformation Object

Show this topic in Library frames

DTO2 only: An object representing information about the database engine.

Properties

MajorVersion
Returns the major version of the engine.
MinorVersion
Returns the minor version of the engine.
dbuApiVersion
Version of the DTI/DTO interface
IsServerEngine
Returns true if the target is a server engine (as opposed to a workgroup engine)
ServerClientType
Returns one of the following:
0 = UNKNOWN_ENGINE_CLIENT
1 = NT_SERVER
2 = NW_SERVER
3 = WIN32_CLIENT
4 = UNIX_SERVER
5 = CACHE_ENGINE_CLIENT

Methods

None

Remarks

You can obtain a DtoEngineInformation object through the properties of the DtoSession Object.

Example
' Instantiate session and connect 
Dim my_session as new DtoSession 
Dim result as DtoResult 
result = my_session.Connect("myserver", "username", 
"password") 
' Get engine information from session 
Dim my_engineInfo as DtoEngineInformation 
Set my_engineInfo = my_session.EngineInformation 
' Now get the client type from the engine info object 
clientType = my_engineInfo.ServerClientType 
See Also

DtoSession Object


Chapter contents
Publication contents

Prev topic: DtoMkdeVersion Object
Next topic: Creating and Maintaining Catalogs and Dictionaries with DTO