DataServiceConfiguration.MaxExpandCount 属性

获取或设置可通过使用 $expand 运算符包括到单个请求中的最大相关实体数。

命名空间:  System.Data.Services
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Public Property MaxExpandCount As Integer
    Get
    Set
用法
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)

属性值

类型:System.Int32
最大相关实体数。

实现

IDataServiceConfiguration.MaxExpandCount

请参阅

参考

DataServiceConfiguration 类

System.Data.Services 命名空间

其他资源

配置数据服务(WCF 数据服务)