PagedQueryDescriptionBase.MaxResults Property

Definition

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.

Applies to