SelectExpandQueryOption.LevelsMaxLiteralExpansionDepth 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 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