Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EnableQueryAttribute::MaxAnyAllExpressionDepth Property

 

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)

public:
property int MaxAnyAllExpressionDepth {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maxiumum depth of the Any or All elements nested inside the query.

Return to top
Show: