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


 

DBPROP_MAXSORTCOLUMNS

Property group: View

Property set: DBPROPSET_VIEW

Type: VT_I4

Typical R/W: R

Description: Maximum Sort Columns

Indicates the maximum number of columns that can be supported in a View Sort. If there is no specified limit or the limit is unknown, this value is set to zero.

This value applies only to the number of sort columns that can be specified in a call to IViewSort::SetSortOrder; it does not imply the maximum number of columns that can be used to sort in a command.