ContentIterator.MaxItemsPerQueryWithViewFields Field
The maximum number of items to return for a SPQuery query where view fields have been explicitly specified.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Const MaxItemsPerQueryWithViewFields As UInteger
'Usage
Dim value As UInteger
value = ContentIterator.MaxItemsPerQueryWithViewFields
public const uint MaxItemsPerQueryWithViewFields
Remarks
This field constrains SPQuery result sets when it is used in conjunction with paging.
If a query specifies view fields (SPQuery.ViewFields), it is less expensive to execute. Therefore, the ContentIterator object uses a larger page size when it executes queries that do not specify view fields.