Gets or sets the maximum depth of the Any or All elements nested inside the query. This limit helps prevent Denial of Service attacks. The default value is 1.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public int MaxAnyAllExpressionDepth { get; set; }
public:
property int MaxAnyAllExpressionDepth {
int get();
void set(int value);
}
member MaxAnyAllExpressionDepth : int with get, set
Public Property MaxAnyAllExpressionDepth As Integer
Property Value
Type: System.Int32
The maxiumum depth of the Any or All elements nested inside the query.
See Also
EnableQueryAttribute Class
System.Web.Http.OData Namespace
Return to top