Which object should you recommend to accomplish this?

You are designing a SharePoint 2010 application. You need to make sure the application aggregates list items
from multiple site collections into a single view.
Which object should you recommend to accomplish this?

You are designing a SharePoint 2010 application. You need to make sure the application aggregates list items
from multiple site collections into a single view.
Which object should you recommend to accomplish this?

A.
SPListItemCollection

B.
SPSiteDataQuery

C.
SPQuery

D.
Keyword Query



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Mariya

Mariya

SPListItemCollection class is used to return a list or document library of all entries. It is for a single List or document library. It does not meet across multiple site collections that the requirements of multiple List requirements.

SPQUERY: It can be used for Query a data from a specific list.

SPSiteDataQuery: It is used for cross-list query.

Keyword Query: Enterprise Search Query architecture can be used in the manner specified access the object model. When using the Query object model, can be specified by using the query string QueryText property KeywordQuery class.