共用方式為


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 Data Services)