다음을 통해 공유


DataServiceConfiguration.SetEntitySetPageSize 메서드

엔터티 집합 리소스의 최대 페이지 크기를 설정합니다.

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

구문

‘선언
Public Sub SetEntitySetPageSize ( _
    name As String, _
    size As Integer _
)
‘사용 방법
Dim instance As DataServiceConfiguration
Dim name As String
Dim size As Integer

instance.SetEntitySetPageSize(name, size)
public void SetEntitySetPageSize(
    string name,
    int size
)
public:
void SetEntitySetPageSize(
    String^ name, 
    int size
)
member SetEntitySetPageSize : 
        name:string * 
        size:int -> unit 
public function SetEntitySetPageSize(
    name : String, 
    size : int
)

매개 변수

  • name
    유형: System.String
    페이지 크기를 설정할 엔터티 집합 리소스의 이름입니다.
  • size
    유형: System.Int32
    name에 지정된 엔터티 집합 리소스의 페이지 크기입니다.

주의

name 매개 변수에 대해 '*' 값을 지정하면 페이지 크기가 명시적으로 설정되지 않은 모든 엔터티 집합에 대해 해당 페이지 크기 값이 설정됩니다.

참고 항목

참조

DataServiceConfiguration 클래스

System.Data.Services 네임스페이스

관련 자료

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