Compartir a través de


DataServiceConfiguration.MaxExpandDepth Propiedad

Obtiene o establece el número máximo de entidades relacionadas que se pueden incluir en una ruta de acceso $expand en una única solicitud.

Espacio de nombres:  System.Data.Services
Ensamblado:  Microsoft.Data.Services (en Microsoft.Data.Services.dll)

Sintaxis

'Declaración
Public Property MaxExpandDepth As Integer
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: System.Int32
Profundidad máxima de una ruta de acceso $expand.

Implementa

IDataServiceConfiguration.MaxExpandDepth

Vea también

Referencia

DataServiceConfiguration Clase

Espacio de nombres System.Data.Services

Otros recursos

Configurar el servicio de datos (WCF Data Services)