Udostępnij za pośrednictwem


ExpandSegment.MaxResultsExpected Property

Gets the maximum number of results expected.

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

Syntax

'Declaration
Public ReadOnly Property MaxResultsExpected As Integer 
    Get
'Usage
Dim instance As ExpandSegment 
Dim value As Integer 

value = instance.MaxResultsExpected
public int MaxResultsExpected { get; }
public:
property int MaxResultsExpected {
    int get ();
}
member MaxResultsExpected : int
function get MaxResultsExpected () : int

Property Value

Type: System.Int32
The integer value that indicates maximum number of results.

Remarks

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

See Also

Reference

ExpandSegment Class

System.Data.Services Namespace