Data Source Properties

Advantage OLE DB Provider (for ADO)

  Previous topic Next topic  

 

The Advantage OLE DB Provider implements the following property in the DBPROPSET_DATASOURCE property set. All DBPROPSET_DATASOURCE properties are in the Data Source property group.

Property ID

Description

DBPROP_CURRENTCATALOG

Type: VT_BSTR

Typical R/W: Read-only

Description: Current Catalog (current database)

Specifies the name of the current catalog. The consumer can use the CATALOGS schema rowset to enumerate catalogs. For the Advantage OLE DB Provider, a catalog is equivalent to a database. This property will contain the name of the database (data dictionary) that was opened once a Database Connection to an Advantage server has been made. This property will contain an empty string if a Free Connection to an Advantage server has been made. The Advantage OLE DB provider does not allow the catalog (data dictionary name) to be changed after the connection has been made to the server.