Share via


DBPROP_MULTIPLECONNECTIONS

Property group: Data Source

Property set: DBPROPSET_DATASOURCE

Type: VT_BOOL

Typical R/W: R/W

Description: Multiple Connections

Some providers may have to spawn multiple connections to the database in order to support multiple concurrent command, session, and rowset objects. Such providers may expose DBPROP_MULTIPLECONNECTIONS in order to let the consumer disable making additional connections under the covers. Providers that can support multiple concurrent command, session, and rowset objects without spawning multiple connections do not support this property.

Note

If the provider supports this property, the provider must support the value VARIANT_TRUE and it must be the default. If the provider does not support this property, the provider must support creating multiple connections.

Value

Meaning

VARIANT_TRUE (default)

The provider silently creates additional connections as required in order to support concurrent command, session, and rowset objects.

VARIANT_FALSE

The provider returns DB_E_OBJECTOPEN if a method would require spawning an additional connection to the database.

See Also

Reference

Properties (Alphabetical)