Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPQueryThrottleOption enumeration

Describes ‘throttling’ that should apply to the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableTypeAttribute]
public enum SPQueryThrottleOption
Member nameDescription
DefaultEnumeration value of Default is 0. If the user is a local administrator on the server no throttling limits will apply to the query. Otherwise throttling limits on the number of items and the number of Lookup, Person/Group, and Workflow Status fields will apply to the query.
OverrideEnumeration value of Override is 1. If the user is a local administrator on the server no throttling limits will apply to the query. If the web application security policy grants the user Full Read or Full Control permissions the throttling limit for Auditors and Administrators will apply to the number of items involved in the query and no throttling will apply to the number of Lookup, Person/Group, and Workflow Status fields. Otherwise the [Microsoft.SharePoint.SPQueryThrottleOption.SPQueryThrottleOption.Default] setting will apply to the query.
StrictEnumeration value is 2. Throttling for both the number of items and for number of Lookup, Person/Group, and Workflow Status fields will apply to the query regardless of user permissions.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.