ThreadSafeDriver (ODBCConnection - LotusScript)

Read-write. Indicates whether the ODBC driver for this connection is thread-safe.

Defined in

ODBCConnection

Data type

Boolean

Syntax

To get: status = odbcConnection . ThreadSafeDriver

To set: odbcConnection . ThreadSafeDriver = status

Legal values

  • True indicates that the driver is thread-safe.
  • False (default) indicates that the driver is not thread-safe.

Usage

Set this property to True only if your ODBC driver is safe to run in a multi-threaded application. Consult with your ODBC supplier to verify that the driver is thread-safe, particularly if the ODBC package is not up to the ODBC 3.0 standard.

You can also set this property with the notes.ini variables ODBCThreadSafeDrivers and ODBCNonThreadSafeDrivers. See "ODBCThreadSafeDrivers statement."

If this property is False, LS:DO adds serialization support.

Example