Share via


SelectExpandQueryOption.LevelsMaxLiteralExpansionDepth Property

Definition

Gets or sets the number of levels that a top level $expand=NavigationProperty($levels=max) will be expanded. This value will decrease by one with each nesting level in the $expand clause. For example, with a property value 5, the following query $expand=A($expand=B($expand=C($levels=max))) will be interpreted as $expand=A($expand=B($expand=C($levels=3))). If the query gets validated, the MaxExpansionDepth value must be greater than or equal to this value.

public int LevelsMaxLiteralExpansionDepth { get; set; }
member this.LevelsMaxLiteralExpansionDepth : int with get, set
Public Property LevelsMaxLiteralExpansionDepth As Integer

Property Value

Applies to