PagedQueryDescriptionBase.MaxResults Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the max number of result items that can be returned per page.
public long? MaxResults { get; set; }
member this.MaxResults : Nullable<int64> with get, set
Public Property MaxResults As Nullable(Of Long)
Property Value
Remarks
If value is null, then no restrictions are placed on the number of results per page.
This defines only the upper bound for the number of results returned, not a minimum. For example, if the page fits at most 1000 returned items according to max message size restrictions defined in the configuration, and the MaxResults value is set to 2000, then only 1000 results are returned, even if 2000 result items match the query description.