Export (0) Print
Expand All
Expand Minimize

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
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:
© 2014 Microsoft