Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceConfiguration.SetEntitySetPageSize Method (String, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the maximum page size for an entity set resource.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public void SetEntitySetPageSize(
	string name,
	int size
)

Parameters

name
Type: System.String

Name of entity set resource for which to set the page size.

size
Type: System.Int32

Page size for the entity set resource that is specified in name.

When you specify a value of '*' for the name parameter, the page size value is set for all entity sets that do not have the page size explicitly set.

.NET Framework
Available since 3.5
Return to top
Show: