Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPDataSourceMode enumeration

Used to specify the type of data that a data-bound SharePoint Foundation control should query.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPDataSourceMode

Member nameDescription
ListQuery items in a single list. Multiple rows of list data are returned. Each row represents a list item. This mode is similar to using an instance of the SPQuery class against a list.
ListOfListsQuery property values of all lists in a Web site. Multiple rows of data are returned. Each row represents a list.
CrossListQuery items in multiple lists in multiple Web sites in the same site collection. Multiple rows of list data are returned. Each row represents a list item. This mode is similar to using an instance of the SPSiteDataQuery class against lists in a site collection.
WebsQuery property values of all subsites of a specified Web site. Multiple rows of data are returned. Each row represents a Web site.
ListItemQuery field values in a list item. A single row of list data is returned. The row represents a single list item.
Show:
© 2015 Microsoft