获取或设置一个值,指示要应用于查询的限制模式。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property QueryThrottleMode As SPQueryThrottleOption
Get
Set
用法
Dim instance As SPSiteDataQuery
Dim value As SPQueryThrottleOption
value = instance.QueryThrottleMode
instance.QueryThrottleMode = value
public SPQueryThrottleOption QueryThrottleMode { get; set; }
属性值
类型:Microsoft.SharePoint.SPQueryThrottleOption
指示限制模式SPQueryThrottleOption枚举的成员。
备注
若要确定是否查询超出允许的MaxItemsPerThrottledOperation或SPWebApplicationMaxItemsPerThrottledOperationOverride属性的项目数,由SPSiteDataQuery对象所述的查询不会考虑索引列。此行为不同于考虑索引的列的值由**[T:Microsoft:SharePoint.SPQuery]**描述的查询,其中。