DBPROP_CURRENTCATALOG

OLE DB Programmer's Reference

Property group: Data Source

Property set: DBPROPSET_DATASOURCE

Type: VT_BSTR

Typical R/W: R/W

Description: Current Catalog

The name of the current catalog. The consumer can use the CATALOGS schema rowset to enumerate catalogs.

Note   Some providers support changing the current catalog (database) on a connection through provider-specific mechanisms, such as executing SQL SET statements. However, to ensure interoperability and to prevent inconsistent provider states, consumers should instead change the current catalog by setting DBPROP_CURRENTCATALOG rather than by executing provider-specific statements.

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