MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix C: OLE DB Properties


 

DBPROP_SORTONINDEX

Property group: View

Property set: DBPROPSET_VIEW

Type: VT_BOOL

Typical R/W: R

Description: Sort on Index

Value Meaning
VARIANT_TRUE The provider supports IViewSort::SetSortOrder only for columns contained in an index.
VARIANT_FALSE The provider does not require columns to be indexed in order to be specified in IViewSort::SetSortOrder, or the provider does not support IViewSort::SetSortOrder.

This value applies only to the ability to specify a column in IViewSort::SetSortOrder; it does not imply whether or not nonindexed columns can be used in the order clause of a command.