ODBCDatabase.DBMS

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As String )
StringValue = aODBCDatabase.DBMS

Supported for all project types and targets.

This property returns the type of the connected database, such as MySQL or Oracle. The property only contains a value after a successful connection has been made to the database. Writing to the property has no effect.

Notes

This property is equivalent to calling the GetInfo method with the ODBCConstant.SQL_DBMS_NAME.

Example

After connecting to a database with ODBC, you can display its type:

MessageBox("DB Type: " + db.DBMS)