IDataServiceConfiguration.MaxExpandCount 속성
데이터 서비스에 대한 모든 요청의 $expand 쿼리 옵션으로 확장할 수 있는 최대 세그먼트 수를 가져오거나 설정합니다.
네임스페이스: System.Data.Services
어셈블리: Microsoft.Data.Services(Microsoft.Data.Services.dll)
구문
‘선언
Property MaxExpandCount As Integer
Get
Set
‘사용 방법
Dim instance As IDataServiceConfiguration
Dim value As Integer
value = instance.MaxExpandCount
instance.MaxExpandCount = value
int MaxExpandCount { get; set; }
property int MaxExpandCount {
int get ();
void set (int value);
}
abstract MaxExpandCount : int with get, set
function get MaxExpandCount () : int
function set MaxExpandCount (value : int)
속성 값
유형: System.Int32
확장할 최대 세그먼트 수입니다.
주의
제한을 초과하면 400 잘못된 요청 상태 코드가 반환됩니다 지정된 값은 0에서 int.MaxValue 사이여야 합니다. 그렇지 않으면 ArgumentOutOfRangeException이 throw됩니다.
다음 쿼리 문자열 샘플에는 두 세그먼트가 있습니다.