ExpandSegment.MaxResultsExpected Property


Gets the maximum number of results expected.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public int MaxResultsExpected { get; }

Property Value

Type: System.Int32

The integer value that indicates maximum number of results.

To enable the data service to detect a failure to meet this constraint, expand providers should return no more than MaxResultsExpected + 1 elements.

.NET Framework
Available since 3.5
Return to top