ODataValidationSettings.MaxExpansionDepth Property

Definition

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.

Applies to