EnableQueryAttribute.MaxExpansionDepth Property

 

Gets or sets the max expansion depth for the $expand query option. To disable the maximum expansion depth check, set this property to 0.

Namespace:   System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public int MaxExpansionDepth { get; set; }
public:
property int MaxExpansionDepth {
    int get();
    void set(int value);
}
member MaxExpansionDepth : int with get, set
Public Property MaxExpansionDepth As Integer

Property Value

Type: System.Int32

See Also

EnableQueryAttribute Class
System.Web.Http.OData Namespace

Return to top