Share via


EnableQueryAttribute.MaxAnyAllExpressionDepth Property

Definition

Gets or sets the maximum depth of the Any or All elements nested inside the query. This limit helps prevent Denial of Service attacks.

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

Property Value

The maximum depth of the Any or All elements nested inside the query. The default value is 1.

Applies to