DataServiceConfiguration.MaxExpandDepth Property

Get or sets the maximum number of related entities that can be included in an $expand path in a single request.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Property MaxExpandDepth As Integer 
    Get 
    Set
'Usage
Dim instance As DataServiceConfiguration 
Dim value As Integer 

value = instance.MaxExpandDepth

instance.MaxExpandDepth = value
public int MaxExpandDepth { get; set; }
public:
virtual property int MaxExpandDepth {
    int get () sealed;
    void set (int value) sealed;
}
abstract MaxExpandDepth : int with get, set 
override MaxExpandDepth : int with get, set
final function get MaxExpandDepth () : int 
final function set MaxExpandDepth (value : int)

Property Value

Type: System.Int32
The maximum depth of an $expand path.

Implements

IDataServiceConfiguration.MaxExpandDepth

See Also

Reference

DataServiceConfiguration Class

System.Data.Services Namespace

Other Resources

Configuring the Data Service (WCF Data Services)