SPQueryThrottleOption enumeration

Describes ‘throttling’ that should apply to the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Enumeration SPQueryThrottleOption
'Usage
Dim instance As SPQueryThrottleOption
public enum SPQueryThrottleOption

Members

Member name Description
Default Enumeration 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.
Override Enumeration 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.
Strict Enumeration 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.

See also

Reference

Microsoft.SharePoint namespace