Share via


SPSiteDataQuery.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 SPSiteDataQuery
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.

Remarks

To determine whether a query exceeds the count of items allowed by the MaxItemsPerThrottledOperation or the MaxItemsPerThrottledOperationOverride property of SPWebApplication, a query described by the SPSiteDataQuery object does not consider indexed columns. This behavior differs from that of a query described by [T:Microsoft:SharePoint.SPQuery], which considers indexed column values.

See also

Reference

SPSiteDataQuery class

SPSiteDataQuery members

Microsoft.SharePoint namespace