SPSiteDataQuery.QueryThrottleMode property
取得或設定一個值,指出要套用至查詢的節流模式。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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; }
Property value
Type: Microsoft.SharePoint.SPQueryThrottleOption
會指出節流模式SPQueryThrottleOption列舉的成員。
備註
若要判斷是否查詢超過MaxItemsPerThrottledOperation或SPWebApplicationMaxItemsPerThrottledOperationOverride屬性所允許的項目計數、 SPSiteDataQuery物件所述的查詢不會考量編製索引的欄。此行為會與不同的**[T:Microsoft:SharePoint.SPQuery]**所述的查詢,其會考慮已編製索引的欄值。