Data Source Object Threading Model Property

ADO and SQL Server

ADO and SQL Server

Data Source Object Threading Model Property

The Data Source Object Threading Model property specifies which threading models are supported by the data source.

Applies To
Connection Object
Syntax

object.Properties("Data Source Object Threading Model")

Parts

object

Expression that evaluates to an object in the Applies To list.

Settings

A bitmask containing one or more of these settings:

Constant Description
DBPROPVAL_RT_APTMTTHREAD The apartment thread model is supported.
DBPROPVAL_RT_FREETHREAD The free thread model is supported.
DBPROPVAL_RT_SINGLETHREAD The single thread model is supported.

Data Type

adInteger

Modifiable

Read-only

OLE DB Property

DBPROP_DSOTHREADMODEL

Remarks

In the case where additional threading limitations are imposed by underlying components, the threading model returned by the Data Source Object Threading Model property might be stricter than the thread model registered under the CLSID of the provider.