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:
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om