The DBPROPSET_DATASOURCEINFO property set contains the following properties. All of these properties are in the DATA SOURCE INFORMATION property group. These properties are read-only in this provider and constitute a set of static information about the provider and data source.
Property ID | Description |
DBPROP_ACTIVESESSIONS | Type: VT_I4 Typical R/W: R Only Description: Active Sessions Specifies the maximum number of sessions that can exist at the same time. If this property is set to zero, there is no limit. |
DBPROP_ASYNCTXNABORT | Type: VT_BOOL Typical R/W: R only Description: Asynchronous Abort Specifies whether asynchronous abortion of transactions is allowed. |
DBPROPSET_ASYNCTXNCOMMIT | Type: VT_BOOL Typical R/W: R only Description: Asynchronous Commit Specifies whether asynchronous commitment of transactions is allowed. |
DBPROPSET_BYREFACCESSORS | Type: VT_BOOL Typical R/W: R Only Description: Pass By Ref Accessors Specifies whether the provider supports the DBACCESSOR_PASSBYREF flag in IAccessor::CreateAccessor. This applies to both row and parameter accessors. |
DBPROP_CATALOGLOCATION | Type: VT_I4 Typical R/W: R Only Description: Catalog Location Specifies the position in a text command of a catalog name in a qualified table name, that is:
|
DBPROP_CATALOGTERM | Type: VT_BSTR Typical R/W: R only Description: Catalog Term Specifies the name that the data source uses for a catalog, for example, “catalog,” “database,” or “directory.”. This is used to build user interfaces. |
DBPROPSET_CATALOGUSAGE | Type: VT_I4 Typical R/W: R Only Description: Catalog Usage A bitmask specifying how catalog names can be used in text commands, that is, zero or more of the following:
|
DBPROPSET_COLUMNDEFINITION | Type: VT_I4 Typical R/W: R Only Description: Column Definition A bitmask defining the valid clauses for the definition of a column, that is:
|
DBPROP_CONCATNULLBEHAVIOR | Type: VT_I4 Typical R/W: R only Description: Null ConcatenationBehavior Specifies how the data source handles concatenation of null valued and non-null valued character data type columns, that is:
|
DBRPOP_DATASOURCENAME | Type: VT_BSTR Typical R/W: R only Description: Data Source Name The name of the data source. This can be used during the connection process. |
DBPROP_DATASOURCEREADONLY | Type: VT_BOOL Typical R/W: R Only Description: Read-Only Data Source This can be:
|
DBPROP_DBMSNAME | Type: VT_BSTR Typical R/W: R only Description: DBMS Name Specifices the name of the product accessed by the provider. |
DBPROP_DBMSVER | Type: VT_BSTR Typical R/W: R only Description: DBMS Version Specifies the version of the product accessed by the provider. |
DBPROP_DSOTHREADMODEL | Type: VT_I4 Typical R/W: R only Description: Data Source Object Threading Model Specifies the threading model of the data source object, that is, one or more of:
|
DBPROP_GROUPBY | Type: VT_I4 Typical R/W: R only Description: Group By Support Specifies the relationship between the columns in a GROUP BY clause and the nonaggregated columns on a select list, that is:
|
DBPROP_HETEROGENEOUSTABLES | Type: VT_I4 Typical R/W: R Only Description: Heterogeneous Table Support Specifies a bitmask that indicates whether the provider can join tables from different catalogs or providers, that is, zero or more of:
|
DBPROP_IDENTIFIERCASE | Type: VT_I4 Typical R/W: R only Description: Identifier Case Sensitivity Specifies how identifiers respond to case, that is:
|
DBPROP_MAXINDEXSIZE | Type: VT_I4 Typical R/W: R Only Description: Maximum Index Size Specifies the maximum number of bytes allowed in the combined columns of an index. If there is no limit specified or if the limit is unknown, this value defaults to zero. |
DBPROP_MAXOPENCHAPTERS | Type: VT_I4 Typical R/W: R only Description: Maximum Open Chapters Specifies the maximum number of chapters that can be open at any time. If a chapter must be released before a new chapter can be opened, set this value to one. If the provider does not support chapters, set this value to zero. |
DBPROP_MAXROWSIZE | Type: VT_I4 Typical R/W: R only Description: Maximum Row Size Specifies the maximum length of a single row in a table. If there is no specified limit or the limit is unknown, this value is zero. |
DBPROP_MAXROWSIZEINCLUDESBLOB | Type: VT_BOOL Typical R/W: R Only Description: Maximum Row Size Includes BLOB Specifies values as either of:
|
DBPROP_MAXTABLESINSELECT | Type: VT_I4 Typical R/W: R Only Description: Maximum Tables in SELECT Specifies the maximum number of tables allowed in the FROM clause of a SELECT statement. If there is no specified limit or the limit is unknown, this value is zero. |
DBPROP_MULTIPLEPARAMSETS | Type: VT_BOOL Typical R/W: R Only Description: Multiple Parameter Sets Specifies values as either of:
|
DBPROP_MULTIPLERESULTS | Type: VT_I4 Typical R/W: R only Description: Multiple Results Specifies a bitmask that indicates whether the provider supports multiple result objects and what restrictions it places on these objects, that is, zero or more of:
If this bitmask is not set, the consumer must release the current rowset before calling IMultipleResults::GetResult to get the next result. If multiple results objects are not supported, DBPROPVAL_MR_NOTSUPPORTED is returned. |
DBPROP_MULTIPLESTORAGEOBJECTS | Type: VT_BOOL Typical R/W: R Only Description: Multiple Storage Objects Specifies values as either of:
|
DBPROP_MULTIPLEUPDATE | Type: VT_BOOL Typical R/W: R only Description: Multiple Table Update Specifies values as either of:
|
DBPROP_NULLCOLLATION | Type: VT_I4 Typical R/W: R only Description: NULL Collation Order Specifies position of null values on a sorted list, that is:
|
DBPROP_OLEOBJECTS | Type: VT_I4 Typical R/W: R only Description: OLE Object Support Specifies a bitmask that indicates the ways in which the provider supports access to BLOBs and OLE objects stored in columns, that is, zero or more of:
|
DBPROP_ORDERBYCOLUMNSINSELECT | Type: VT_I4 Typical R/W: R Only Description: Order By Columns In Select List Specifies values as either of:
|
DBPROP_OUTPUTPARAMETERAVAILABILITY | Type: VT_I4 Typical R/W: R only Description: Output Parameter Availability Specifies the time at which output parameter values become available, that is:
|
DBPROP_PERSISTIDTYPE | Type: VT_I4 Typical R/W: R only Description: Persistent ID Type Specifies an integer that indicates the type of DBID that the provider uses when persisting DBIDs for tables, indexes, and columns. This is usually the type of DBID that the provider considers to be the most permanent under schema changes and physical data reorganizations. The value is one of:
|
DBPROP_PREPAREABORTBEHAVIOR | Type: VT_I4 Typical R/W: R only Description: Prepare Abort Behavior Specifies how aborting a transaction affects prepared commands, that is:
|
DBPROP_PROCEDURETERM | Type: VT_BSTR Typical R/W: R only Description: Procedure Term Specifies a character string with the data source vendor’s name for a procedure, for example, “database procedure,” “stored procedure,” or “procedure.” This is used to build user interfaces. |
DBPROP_PROVIDERNAME | Type: VT_BSTR Typical R/W: R only Description: Provider Name Specifies the file name of the provider. |
DBPROP_PROVIDEROLEDBVER | Type: VT_BSTR Typical R/W: R only Description: OLE DB Version Returns the version of OLE DB supported by the provider. The version is returned in the format ##.## ####, where the first two digits are the major version, the next two digits are the minor version, and the last four digits are the release version. The provider can append a description of the provider. |
DBPROP_QUOTEDIDENTIFIERCASE | Type: VT_I4 Typical R/W: R only Description: Quoted Identifier Sensitivity Specifies how quoted identifiers treat case, that is:
|
DBPROP_ROWSETCONVERSIONCOMMAND | Type: VT_BOOL Typical R/W: R only Description: Rowset Conversions On Command Specifies values as either of:
|
DBPROP_SCHEMATERM | Type: VT_BSTR Typical R/W: R only Description: Schema Term Specifies the name the data source uses for a schema, for example, “schema” or “owner.”. This is used to build user interfaces. |
DBPROP_SCHEMAUSAGE | Type: VT_I4 Typical R/W: R only Description: Schema Usage Specifies a bitmask that indicates how schema names can be used in text commands, that is, zero or more of:
|
DBPROP_SQLSUPPORT | Type: VT_I4 Typical R/W: R only Description: SQL Support Specifies a bitmask that indicates the level of support for SQL, that is, zero or more of:
The following levels correspond to the levels of SQL conformance defined in ODBC version 2.5. These levels are cumulative; that is, if the provider supports one level, it also supports all lower levels.
The following levels correspond to the levels in ANSI SQL 92. These levels are cumulative; that is, if the provider supports one level, it also supports all lower levels.
|
DBPROP_STRUCTUREDSTORAGE | Type: VT_I4 Typical R/W: R only Description: Structured Storage Specifies a bitmask that indicates which interfaces on a storage object are supported by the rowset, that is, zero or more of:
|
DBPROP_SUBQUERIES | Type: VT_I4 Typical R/W: R only Description: Subquery Support Specifies a bitmask that indicates the predicates in text commands that support subqueries, that is, zero or more of:
The DBPROPVAL_SQ_CORRELATED SUBQUERIES bit indicates that all predicates that support subqueries support correlated subqueries. |
DBPROP_SUPPORTEDTXNDDL | Type: VT_I4 Typical R/W: R only Description: Transaction DDL Specifies whether Data Definition Language (DDL) statements are supported in transactions, that is:
|
DBPROP_SUPPORTEDTXNISOLEVELS | Type: VT_I4 Typical R/W: R only Description: Isolation Levels Specifies a bitmask that indicates the supported transaction isolation levels, that is, zero of more of:
|
DBPROPVAL_SUPPORTEDTXNISORETAIN | Type: VT_I4 Typical R/W: R only Description: Isolation Retention Specifies a bitmask that indicates the supported transaction isolation retention levels, that is, zero or more of:
|
DBPROP_TABLETERM | Type: VT_BSTR Typical R/W: R only Description: Table Term Specifies the name the data source uses for a table. |