PrepAway - Latest Free Exam Questions & Answers

You need to ensure that the custom code that queries the list items and default list views remains within 2,50

Your company network includes a SharePoint Server 2010 Service Pack 1 (SP1) server. You create an
http://www.contoso.com web application that has multiple site collections. The site collections have
a large amount of content residing across lists. You deploy custom web parts that query the list
items through the SharePoint object model. You need to ensure that the custom code that queries
the list items and default list views remains within 2,500 items for each request. What should you
do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the value of the PropertySize attribute to 2500 on the WebPartLimits node in the web.config
file.

B.
Limit List View(s) to display only 2,500 items for each list that includes more than 2,500 items.

C.
Set the value of HTTP Request Monitoring and Throttling to No. Set the value of Daily Time
Window for Large Queries to 0 hours

D.
From the SharePoint Server 2010 Service Pack 1 (SP1) Management Shell, run the following
commands:
$site = get-spsite http://www.contoso.com $site.WebApplication.MaxItemsPerThrottledOperation =
2500 $site.WebApplication.AllowOMCodeOverrideThrottleSettings = $false
$site.Dispose()

Explanation:

Ref:
http://msdn.microsoft.com/enus/library/microsoft.sharepoint.administration.spwebapplication_members.aspx


Leave a Reply