DBPROP_MULTIPLECONNECTIONS

OLE DB Programmer's Reference

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.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net