다음을 통해 공유


DataServiceConfiguration.MaxResultsPerCollection 속성

반환된 각 컬렉션의 최대 항목 수를 가져오거나 설정합니다.

네임스페이스:  System.Data.Services
어셈블리:  Microsoft.Data.Services(Microsoft.Data.Services.dll)

구문

‘선언
Public Property MaxResultsPerCollection As Integer
    Get
    Set
‘사용 방법
Dim instance As DataServiceConfiguration
Dim value As Integer

value = instance.MaxResultsPerCollection

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

속성 값

유형: System.Int32
최대 항목 수입니다.

구현

IDataServiceConfiguration.MaxResultsPerCollection

주의

이 최대값은 중첩된 컬렉션에도 적용됩니다.

참고 항목

참조

DataServiceConfiguration 클래스

System.Data.Services 네임스페이스

관련 자료

데이터 서비스 구성(WCF Data Services)