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


 

DBPROP_MAXORSINFILTER

Property group: View

Property set: DBPROPSET_VIEW

Type: VT_I4

Typical R/W: R

Description: Maximum OR Conditions

Indicates the maximum number of disjoint conditions that can be supported in a view filter. Multiple conditions (rows) of a view filter are joined in a logical OR. Providers that do not support joining multiple conditions return a value of 1. If there is no specified limit or the limit is unknown, the provider returns 0.

This value applies only to the conditions that can be joined in a logical OR in a call to IViewFilter::SetFilter; it does not imply the maximum number of OR conditions that may exist in a command.