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
Syntax
'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPDataSourceMode
'Usage
Dim instance As SPDataSourceMode
[SubsetCallableTypeAttribute]
public enum SPDataSourceMode
Members
Member name | Description | |
---|---|---|
List | Query 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. | |
ListOfLists | Query property values of all lists in a Web site. Multiple rows of data are returned. Each row represents a list. | |
CrossList | Query 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. | |
Webs | Query property values of all subsites of a specified Web site. Multiple rows of data are returned. Each row represents a Web site. | |
ListItem | Query field values in a list item. A single row of list data is returned. The row represents a single list item. |