DBPROP_USEEXTENDEDDBTYPES
Note
Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.
The DBPROP_USEEXTENDEDDBTYPES property controls the data type of columns bound by OLE DB accessors.
Summary
Property Set | DBPROPSET_QUERYEXT |
Property ID | DBPROP_USEEXTENDEDDBTYPES |
Value Type | DBTYPE_BOOL |
Default | VARIANT_FALSE |
Remarks
If the value is VARIANT_TRUE, accessor column bindings can be based on PROPVARIANT structures. By default, only OLE Automation VARIANT structures and any directory binding are allowed for accessor column bindings.
Many frequently used properties are stored using types that are not OLE Automation VARIANT structures. This causes considerable overhead in the OLE DB accessor used to retrieve the data, since the data must be coerced into a different type.
Clients that can make use of PROPVARIANT structures should set DBPROP_USEEXTENDEDDBTYPES to VARIANT_TRUE and use OLE DB accessors with bindings that use PROPVARIANT types.