IDataServiceConfiguration.MaxExpandCount 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 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: