Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the max expansion depth for the $expand query option.
Namespace: System.Web.Http.OData.Query
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
Remarks
To disable the maximum expansion depth check, set this property to 0.
See Also
ODataValidationSettings Class
System.Web.Http.OData.Query Namespace
Return to top