Used to specify the type of data that a data-bound Windows SharePoint Services control should query.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Enumeration SPDataSourceMode
Dim instance As SPDataSourceMode
public enum SPDataSourceMode
| | Member name | Description |
|---|
| 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. |
| 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. |
| ListItem | Query field values in a list item. A single row of list data is returned. The row represents a single list item. |
| ListOfLists | Query property values of all lists in a Web site. Multiple rows of data are returned. Each row represents a list. |
| Webs | Query property values of all subsites of a specified Web site. Multiple rows of data are returned. Each row represents a Web site. |