ODataUriParserSettings.MaximumExpansionDepth 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 depth of the tree that results from parsing $expand.
public int MaximumExpansionDepth { get; set; }
member this.MaximumExpansionDepth : int with get, set
Public Property MaximumExpansionDepth As Integer
Property Value
Remarks
This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. Further, redundant expansions will be pruned before validation and will not count towards the maximum.