Muokkaa

Jaa


IDataServiceConfiguration.MaxExpandCount Property

Definition

Gets or sets the maximum number of segments that can be expanded by the $expand query option for all requests to the data service.

public:
 property int MaxExpandCount { int get(); void set(int value); };
public int MaxExpandCount { get; set; }
member this.MaxExpandCount : int with get, set
Public Property MaxExpandCount As Integer

Property Value

The maximum number of segments to expand.

Remarks

If the limit is exceeded, a 400 Bad Request status code is returned. The value specified must be between 0 and int.MaxValue; otherwise, an ArgumentOutOfRangeException is thrown.

The following query string sample has two segments:

Applies to