ODataValidationSettings.MaxExpansionDepth 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 max expansion depth for the $expand query option.
public int MaxExpansionDepth { get; set; }
member this.MaxExpansionDepth : int with get, set
Public Property MaxExpansionDepth As Integer
Property Value
Remarks
To disable the maximum expansion depth check, set this property to 0.