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)

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