SPQuery.QueryThrottleMode Property

Gets or sets a value that indicates the throttling mode to be applied to the query.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property QueryThrottleMode As SPQueryThrottleOption
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As SPQueryThrottleOption

value = instance.QueryThrottleMode

instance.QueryThrottleMode = value
public SPQueryThrottleOption QueryThrottleMode { get; set; }

Property Value

Type: Microsoft.SharePoint.SPQueryThrottleOption
A member of the SPQueryThrottleOption enumeration that indicates the throttling mode to be applied to the query.

Remarks

Throttling is applied based on user role and permissions.

See Also

Reference

SPQuery Class

SPQuery Members

Microsoft.SharePoint Namespace