Share via


DataServiceConfiguration.MaxExpandCount Property

Gets or sets the maximum number of related entities that can be included in a single request by using the $expand operator.

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

Syntax

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

value = instance.MaxExpandCount

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

Property Value

Type: System.Int32
The maximum number of related entities.

Implements

IDataServiceConfiguration.MaxExpandCount

See Also

Reference

DataServiceConfiguration Class

System.Data.Services Namespace

Other Resources

Configuring the Data Service (WCF Data Services)